Cloudflare Saves Another 100TB of RAM by Shrinking a Consistent Hash Ring

DanielLockyer · x · 2026-09-19

Cloudflare's performance team found its Pingora Backend Router was hogging memory via the pingora-ketama consistent-hashing library. The last 90,000 hashes per server were buying just a 0.7% load-balance improvement — so they shrank the hash ring and reclaimed over 100TB of RAM globally, on top of 100TB saved by the DNS team last month. A lesson in math-driven engineering tradeoffs at scale.

Original post →

More from Infra

Infra channel →