← Questions

Design a single-node in-memory cache with a write-ahead log

0
DatabricksSystem designLast asked Sep 2026

A system design interview question asked in Databricks's system design round, last asked Sep 2026. It tests caching, durability and write-ahead log.

A web service needs a cache. Design a key-value cache that runs inside one process on one machine, and write pseudocode for it.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Databricks · System design · Last asked Sep 202660 min · Design discussion, often written in a Google Doc rather than on a whiteboard

What it tests

caching · durability · write-ahead log

Your canvas and the AI tutor open when you unlock this question.