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

Storage on a node

The ring says which node holds a key. But the interviewer will go further. How does a node lay out its 0.5 TB on the SSD and find a key within milliseconds? Why does an acknowledged write survive a power cut after which every node restarts at once? Three copies in three zones do not help with that: if the write was acknowledged from memory, after a restart of every node it is on no copy at all.

In this lesson

  • The write path
  • The read path
  • Why not a B-tree
  • Common mistake
  • Key points