Servers

Hash

A calculation that turns any text (an IP, a URL) into a number. Distributing by hash uses that number to always pick the same server.

Example

The IP 190.64.1.20 always hashes to 2, so that user always goes to server 2 of 3.

Test yourself: Hash

Load balancers

With hashing on the IP, the same user always lands on the same server.

Lessons that use it

More servers 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.