Lesson · 5 pages · about 4 min
Consistent hashing
Keys and servers share one ring; a key belongs to the next server clockwise, so adding a server moves only one slice of keys.
Words you’ll learn
- Server
- Client
- Cache
- Database
- Virtual node
By the last page, this is the design you will have built.
Lesson · 5 pages · about 4 min
Keys and servers share one ring; a key belongs to the next server clockwise, so adding a server moves only one slice of keys.