SupportWriter space ↗
← All news
Technology · SOURCE EXCERPT

Cloudflare Reclaims 100 TB of RAM by Optimizing Consistent Hashing

Image: InfoQ

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