← Questions

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

0
DatabricksSystem designLast asked Sep 2026

Design an in-memory key-value cache that sits inside one web service. Then make it survive restarts with a write-ahead log, and explain how you would shard it and cut lock contention as load grows.

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing