# Saving another 100TB of RAM with math (and Rust)

DevFeed: [Saving another 100TB of RAM with math (and Rust)](<https://devfeed.tech/articles/saving-another-100tb-of-ram-with-math-and-rust-55131.md>)

Original publisher: [Read original article](<https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/>)

Author: Ivan Babrou

Published: 2026-09-18T17:23:58Z

Content type: article

Language: en

Sources: [Cloudflare Blog](<https://devfeed.tech/sources/cloudflare-blog.md>)

Topics: [consistent hashing](<https://devfeed.tech/topics/consistent-hashing.md>), [Pingora](<https://devfeed.tech/topics/pingora.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [data centers](<https://devfeed.tech/topics/data-centers.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Network](<https://devfeed.tech/topics/network.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [consistent-hashing](<https://devfeed.tech/tags/consistent-hashing.md>), [data-center](<https://devfeed.tech/tags/data-center.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [hash](<https://devfeed.tech/tags/hash.md>), [input](<https://devfeed.tech/tags/input.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [network](<https://devfeed.tech/tags/network.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [rust](<https://devfeed.tech/tags/rust.md>), [statistics](<https://devfeed.tech/tags/statistics.md>)

## AI overview

Cloudflare describes how small changes to the consistent-hashing algorithm used by its Pingora Backend Router significantly reduced memory usage, reclaiming more than 100 TB of RAM globally. The article explains the service, its routing use case, and the algorithm's role in distributing requests across servers.

## Source excerpt

Cloudflare's global network is immense but not limitless. As we look for small ways to trim our resource usage, we sometimes get lucky and we can cut significantly more. Here's how we reduced one of our Pingora-based service's RAM usage with statistics.