01Chapter 1: Why we need to spread keys across nodesAssume you know that a hash function maps a value to a number, and that a distributed cache or database may split data across several nodes. You should also be comfortable with basic binary search.2 min read
02Chapter 2: Finding the node for a keyAssume you know hash functions, caches or shards, replicas, and binary search. Consistent hashing maps both keys and nodes into the same circular hash space.2 min read
03Chapter 3: Implementing a ring in PythonAssume you know hash functions, caches, shards, replicas, and binary search. A ring stores sorted hash positions for physical nodes and virtual nodes. A virtual node is one of several positions assigned to the same physical node.1 min read