Databases

Hash ring

A circle of hash positions, from 0 to m-1, where nodes and keys are placed.

Example

With nodes at 20, 50 and 80, the key at 35 goes to the node at 50.

Test yourself: Hash ring

Consistent hashing

On the ring, each key goes to the first node it finds going ___.

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.