System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Consistent Hashing

Here are six of the store's customers, the hash of each customer ID, and the shard each one would live on under two routing rules:

<span style="white-space:nowrap">Customer</span><span style="white-space:nowrap">hash(customer_id)</span>% 4 <span style="white-space:nowrap">picks</span> shard% 5 picks shard
u_204 (Maya)2,914,377,02011
c_10881,605,233,85723
c_33173,770,410,94632
c_5402418,926,50925
c_66302,236,118,77541
c_81214,051,762,69834

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content