---
title: "Discussion on \"I added one server to my cache and 80% of the keys moved\" | Hashnode"
description: "Discussion on \"I added one server to my cache and 80% of the keys moved\". Why hash(key) % N breaks when you scale, and how a hash ring fixes it"
url: "https://hashnode.com/posts/add-one-server-80-percent-keys-move/6b10b52185fbd7701288956d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I added one server to my cache and 80% of the keys moved](https://mannietech.hashnode.dev/add-one-server-80-percent-keys-move?utm_source=hashnode&utm_medium=feed)

Why hash(key) % N breaks when you scale, and how a hash ring fixes it

2d ago · 5 min read · mannietech.hashnode.dev  
Read the article

-   [#system-design](https://hashnode.com/tag/system-design)
-   [#python](https://hashnode.com/tag/python)
-   [#distributed-systems](https://hashnode.com/tag/distributed-systems)
-   [#interview-preparation](https://hashnode.com/tag/interview-preparation)
-   [#caching](https://hashnode.com/tag/caching)

## Written by

[MannieTech](https://hashnode.com/@mannietech)

@mannietech · Lagos | Nigeria

  
[View profile](https://hashnode.com/@mannietech)

sharing thoughts on developer's experience and providing solution to developer problems.

Just a guy who wants to be the best of the bests!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
