Skip to content
Theory · Key-value store · lesson 1 of 11

Problem and requirements

The item k42 goes into lockers in three rooms (N=3) and counts as stored after two ticks, W=2; one room is lost

The prompt goes like this. Design a distributed key-value store that many internal services keep their data in. A service puts a value under a key and gets it back by that key. The store runs on hundreds of commodity servers, where a failed node is an ordinary day. It must keep accepting writes even when part of the network is cut off.

In this lesson

  • Why ask first
  • Functional requirements
  • Non-functional requirements
  • What stays out of scope
  • Common mistake
  • Key points