Software architecture interview · Software Engineer
Distributed key-value store / cache
- Level
- Senior
- Length
- About 55 minutes
- Format
- A diagram canvas you draw on as you talk
- Partitioning
- Replication
- Consistency models
- Failure handling
The problem
Design a distributed key-value store, the kind of thing that sits behind a cache or a Dynamo-style database. Clients call put(key, value) and get(key) with values under about ten kilobytes.
The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.
How the interview runs
- Introductions and framing5 min
- Requirements clarification and scoping7 min
- Estimation, core entities and API6 min
- High-level design12 min
- Deep dives15 min
- Wrap-up5 min
- Their questions5 min
Our library of software architecture problems
URL shortener (Bitly-like)Mid-level
Distributed API rate limiterMid-level
Distributed key-value store / cache · This problemSenior
Event ticketing under flash-sale load (Ticketmaster-like)Senior