Reimagining service delivery in the agentic era with Google Public Sector
cloud.google.com·16h ago

TL;DR
Cloudflare optimized its Pingora Backend Router by refining its consistent hashing algorithm, resulting in a remarkable reduction of over 100TB of RAM usage globally.
✦ Why It Matters
Evaluate your own systems for potential memory optimizations using mathematical approaches.
Key Takeaways
How It Works
The optimization involved changing the data structure used for storing hashes in the consistent hashing algorithm. By reducing the size of the index field and using a raw byte array, memory usage was cut by 25%.
Additionally, increasing the number of hashes per server improved workload distribution, lowering the coefficient of variation from 99% to 8%.
Related