Saving another 100TB of RAM with math (and Rust)
Summary
Cloudflare explains how a memory-heavy Pingora ketama hashing setup wasted RAM and how math-driven tweaks and a Rust-based storage redesign trimmed the footprint by more than 100TB. The post covers consistent hashing, hash-ring scaling, and staged migration to a smaller, more memory-efficient ring, including a 25% RAM reduction from a struct redesign and a plan to cut hash counts by up to 90%.