---
title: "Consistent hashing"
description: "Why changing the divisor moves most keys when a server joins, how a hash ring limits the move, how virtual nodes spread load, and why routers must agree."
canonical_url: "https://fanout.sh/system/archive/consistent-hashing"
md_url: "https://fanout.sh/system/archive/consistent-hashing.md"
last_updated: "2026-11-07"
access: "pro-preview"
---

# Consistent hashing

Why changing the divisor moves most keys when a server joins, how a hash ring limits the move, how virtual nodes spread load, and why routers must agree.

- Access: Fanout Pro (public preview)

## The core idea

Consistent hashing assigns keys to owners while limiting which assignments change when owners join or leave.

For a cache, unnecessary reassignment creates misses.

## In this lesson

- Why changing the divisor is disruptive
- Insert one point
- Virtual nodes distribute the intervals
- Change membership yourself
- Routers must agree on the rule

## Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
