architect-handbook

Software Architect Handbook

View on GitHub

Consistent Hashing

Problem Overview

For large applications, it is infeasible to fit the complete data set in a single server. The simplest way to accomplish this is to split the data into smaller partitions and store them in multiple servers.

There are two challenges when partitioning the data:

Solution: Consistent hashing

Consistent hashing is a great technique to solve these problems. This technique has the following advantages: