Skip to content

Glossary: System Design Basics in JavaScript

Stable hash

Also written: crc32

A hash function that gives the same number for the same key on every machine and every run, like Node's built-in `crc32` from `node:zlib`. Sharding needs one so customers don't change shards after a restart.

Where the book teaches it

Related terms

Hash sharding