
Performance
Request Coalescing to Stop Cache Stampedes in Rust Services
When a hot cache entry expires, a hundred requests recompute it at once. Coalesce concurrent misses so one loads and the rest wait, with moka get_with, a hand-rolled version and a note on stale-while-revalidate.
4 min read
