03Chapter 3: Why and how to partition dataThis chapter assumes you know hash maps and sorted lists, have a basic idea of hashing, and can read short Python snippets. It follows the single-node storage engine chapter. Here we move from one machine to many.2 min read
04Chapter 4: Consistent hashing and the hash ringThis chapter assumes you know hash maps, can read short Python snippets, and understand why a key-value store partitions data across nodes. The last chapter covered why we partition. This one covers how to decide which node owns a key without moving most keys when the cluster changes.2 min read
05Chapter 5: Virtual nodes and balanced loadThis chapter assumes you know how a hash ring maps keys to nodes, as covered in the previous chapter, and that you can read short Python snippets.2 min read
06Chapter 6: Replicating each key to N nodesPartitioning spreads keys across nodes, but a single copy of each key is a single point of failure. If the node that owns a key dies, that key is gone or unreachable. Replication fixes this by storing each key on N nodes. This chapter assumes you know how a consistent-hash ring places keys and virtu3 min read
07Chapter 7: Consistency models and the CAP/PACELC trade-offsThis chapter assumes you know what replication is and why each key lives on N nodes. It also assumes you can read short Python snippets. Here you learn what "consistent" can mean for a key-value store and which trade-offs follow from it.2 min read
08Chapter 8: Tunable consistency with read and write quorumsThis chapter assumes you know how a key's replica set is chosen (the preference list from the hash ring) and the basics of consistency trade-offs. It covers how a leaderless store lets each request choose how many replicas must respond.3 min read
09Chapter 9: Tracking causality with vector clocksThis chapter assumes you know how replication and preference lists work, and that you have seen read and write quorums. Replicas accept writes independently, so the store needs a way to tell whether one version of a value replaces another or whether the two were written concurrently.3 min read
10Chapter 10: Resolving conflicts: last-write-wins, siblings, and CRDTsThis chapter assumes you know how vector clocks detect concurrent writes (the previous chapter) and how replicas accept writes independently. Detecting a conflict is only half the job. The store must also decide what the client sees afterward.2 min read
11Chapter 11: Cluster membership and failure detection with gossipThis chapter assumes you know how the hash ring and replication work from earlier chapters, and that you can read short Python snippets. Every node on the ring must know which other nodes exist and which are alive. This chapter covers how a leaderless cluster learns that without a central coordinato2 min read
12Chapter 12: Routing requests: coordinators and client-side routingThis chapter assumes you know how the hash ring and preference lists work, and that gossip gives each node a view of cluster membership. It covers the last step before replication: how a request reaches the right nodes.3 min read
16Chapter 16: Testing with failure injection and operating the clusterThis chapter assumes you know the pieces built earlier: the log-structured storage engine, consistent hashing, N/R/W quorums, vector clocks, hinted handoff, and Merkle-tree anti-entropy. Here you check that they work together under failure, and you learn what to watch once the cluster is running.2 min read