Tagged articles

CRC16

3 articles · Page 1 of 1
dbaplus Community
dbaplus Community
Mar 4, 2025 · Databases

Why Does Redis Prefer Hash Slots Over Consistent Hashing?

Redis Cluster distributes data using 16,384 hash slots calculated via CRC16, a design that offers flexible slot allocation, simpler data migration, and better performance compared to traditional consistent hashing, and this article explains the slot mechanism, node scaling, client routing, and the reasons behind the 16K slot choice.

CRC16DatabaseHash Slots
0 likes · 9 min read
Why Does Redis Prefer Hash Slots Over Consistent Hashing?
LouZai
LouZai
Jan 3, 2024 · Databases

Why Redis Chooses Hash Slots Over Consistent Hashing

The article explains how Redis Cluster distributes keys using CRC16‑based hash slots instead of traditional consistent hashing, detailing the slot calculation, node addition and removal processes, client redirection, smart client optimizations, and the design reasons behind the fixed 16,384 slot count.

CRC16ClusterHash Slots
0 likes · 9 min read
Why Redis Chooses Hash Slots Over Consistent Hashing