00 /What You Will Learn
By the end you will be able to
- Explain why
hash(key) % Nbreaks when N changes. - Explain a hash ring and how a key finds its server.
- Explain virtual nodes and why 1 point per server is uneven.
- Show with real Redis servers that a ring keeps most of the cache hit rate when a server is added.
- Say what changes when a server is removed.
Before you start
Finish Lab 02 (Docker Compose in Practice) and Lab 06 (Redis Basics) first. You should know SET and GET. Docker Desktop and Python 3 are needed. Nothing else is installed.