rillr
About Guidelines Privacy Terms Log in Join Rillr
← Programming
www.infoq.com · 2d

Cloudflare Reclaims 100 TB of RAM by Optimizing Consistent Hashing

Cloudflare recently documented how it reduced the memory footprint of its internal load-balancing service by more than 100 TB by optimizing the Rust implementation of consistent hashing in pingora-ketama. The changes compacted hash-ring entries and used statistical analysis of hash distribution and collision rates to reduce the number of hashes per backend by about 90%. By Renato Losio

Visit article ↗ ▲ 0 💬 0
Discussion

0 comments

No comments yet. Start the discussion.