# Pingora

Published articles for Pingora.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Cloudflare Reclaims 100 TB of RAM by Optimizing Consistent Hashing

DevFeed: [Cloudflare Reclaims 100 TB of RAM by Optimizing Consistent Hashing](<https://devfeed.tech/articles/cloudflare-reclaims-100-tb-of-ram-by-optimizing-consistent-hashing-98701.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/10/cloudflare-hashing-optimization/>)

Author: Renato Losio

Published: 2026-10-24T08:10:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [hashing](<https://devfeed.tech/topics/hashing.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-hashing-optimization](<https://devfeed.tech/tags/cloudflare-hashing-optimization.md>), [consistent-hashing](<https://devfeed.tech/tags/consistent-hashing.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [development](<https://devfeed.tech/tags/development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [infrastructure-optimisation](<https://devfeed.tech/tags/infrastructure-optimisation.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-optimization](<https://devfeed.tech/tags/memory-optimization.md>), [news](<https://devfeed.tech/tags/news.md>), [performance-tuning](<https://devfeed.tech/tags/performance-tuning.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

Cloudflare reduced its load-balancing service's memory footprint by more than 100 TB by optimizing consistent hashing in pingora-ketama while preserving the required load distribution. Probability analysis showed that many hash points yielded diminishing accuracy gains and that collisions among 32-bit points added distribution error; this let the team cut hashes per server by about 90%. It also compacted each stored `Point` from 8 bytes to 6 by representing the hash and server index more tightly. Because changing the ring could redirect cacheable requests and invalidate cached content, Cloudflare rolled out the new implementation gradually alongside the existing ring to limit cache churn and origin traffic spikes.

### Source excerpt

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

## Origin Range Requests: Serving large files without range-request tuning

DevFeed: [Origin Range Requests: Serving large files without range-request tuning](<https://devfeed.tech/articles/origin-range-requests-serving-large-files-without-range-request-tuning-98271.md>)

Original publisher: [Read original article](<https://blog.cloudflare.com/origin-range-requests/>)

Author: Matthew Gumport

Published: 2026-10-23T18:22:59Z

Content type: article

Language: en

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

Topics: [proxy](<https://devfeed.tech/topics/proxy.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [advertising](<https://devfeed.tech/tags/advertising.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-training](<https://devfeed.tech/tags/ai-training.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [can](<https://devfeed.tech/tags/can.md>), [files](<https://devfeed.tech/tags/files.md>), [half](<https://devfeed.tech/tags/half.md>), [large](<https://devfeed.tech/tags/large.md>), [large-files](<https://devfeed.tech/tags/large-files.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [product-news](<https://devfeed.tech/tags/product-news.md>), [r2](<https://devfeed.tech/tags/r2.md>), [range](<https://devfeed.tech/tags/range.md>), [request](<https://devfeed.tech/tags/request.md>), [small](<https://devfeed.tech/tags/small.md>), [storage](<https://devfeed.tech/tags/storage.md>), [waste](<https://devfeed.tech/tags/waste.md>)

### AI overview

Cloudflare's Origin Range Requests feature coordinates partial file delivery around fixed-size cache chunks, removing the need to tune a per-zone range size. For requested bytes already cached, Cloudflare serves them directly; it fetches missing bytes in chunk-aligned ranges, can join in-flight downloads, stores successful coverage, and returns only the client's requested range. It validates range responses, file size, and entity tags before combining bytes; when ranges cannot be honored safely, it serves the full representation. This bounds extra origin work, though requests smaller than a chunk can still fetch the whole chunk. The feature is enabled through a Cache Rule and requires an otherwise cacheable response and an origin that supports byte ranges. Cloudflare reports roughly half the p99 time-to-first-byte for R2 and a later change reduced tiered-cache traffic for R2 and similar workloads by about 6% week over week.

### Source excerpt

Naive byte-range caching can waste gigabytes of origin bandwidth on small requests. We rebuilt our cache architecture in Pingora to coordinate partial fetches automatically, cutting R2 p99 latency in half.

## Cloudflare adds Cache Rules support for HTTP Vary header handling

DevFeed: [Cloudflare adds Cache Rules support for HTTP Vary header handling](<https://devfeed.tech/articles/we-just-shipped-support-for-the-ugliest-part-of-http-vary-58221.md>)

Original publisher: [Read original article](<https://blog.cloudflare.com/vary-support/>)

Author: Zaidoon Abd Al Hadi

Published: 2026-09-22T14:04:31Z

Content type: release

Language: en

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

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [headers](<https://devfeed.tech/tags/headers.md>), [http](<https://devfeed.tech/tags/http.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>)

### AI overview

Cloudflare has added support for the HTTP Vary response header in Cache Rules on every plan. The feature lets users normalize negotiation headers, preserve exact values when needed, or bypass caching when variation is unpredictable.

### Source excerpt

Vary support is now available in Cache Rules on every plan. You can normalize known negotiation headers, pass exact values through to the origin when those small differences matter, or bypass cache when the variation is too unpredictable.

## 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.

## Cloudflare Tests Cache Transcoding to Reduce Storage Requirements

DevFeed: [Cloudflare Tests Cache Transcoding to Reduce Storage Requirements](<https://devfeed.tech/articles/cloudflare-tests-cache-transcoding-to-reduce-storage-requirements-8992.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/09/cloudflare-cache-transcoding/>)

Author: Renato Losio

Published: 2026-09-13T10:35:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Transcodings](<https://devfeed.tech/topics/transcodings.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Pingora](<https://devfeed.tech/topics/pingora.md>)

Tags: [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-cache-transcoding](<https://devfeed.tech/tags/cloudflare-cache-transcoding.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [data-centers](<https://devfeed.tech/tags/data-centers.md>), [development](<https://devfeed.tech/tags/development.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [news](<https://devfeed.tech/tags/news.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [rust](<https://devfeed.tech/tags/rust.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

Cloudflare is testing Cache Transcoding, a prototype that Zstandard-compresses eligible uncompressed text before it is stored in cache. The approach aims to increase effective cache capacity and reduce inter-data-center transfer, with configurable CPU and storage trade-offs.

### Source excerpt

Cloudflare recently described a prototype called Cache Transcoding that compresses eligible cache content, mainly uncompressed text such as HTML, JSON, CSS, and JavaScript, using Zstandard before storing it on disk. The hyperscaler estimates that the approach could provide petabytes of additional effective cache capacity, although broader testing is still needed. By Renato Losio

## How we could save petabytes of cache storage with Zstandard and Pingora

DevFeed: [How we could save petabytes of cache storage with Zstandard and Pingora](<https://devfeed.tech/articles/how-we-could-save-petabytes-of-cache-storage-with-zstandard-and-pingora-109.md>)

Original publisher: [Read original article](<https://blog.cloudflare.com/cache-transcoding/>)

Author: Aashi Patel

Published: 2026-09-01T12:59:00Z

Content type: article

Language: en

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

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Pingora](<https://devfeed.tech/topics/pingora.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [data-center](<https://devfeed.tech/tags/data-center.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [internship-experience](<https://devfeed.tech/tags/internship-experience.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [prototyping](<https://devfeed.tech/tags/prototyping.md>), [storage](<https://devfeed.tech/tags/storage.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Cloudflare describes a Cache Transcoding prototype that stores eligible cached assets in Zstandard-compressed form. The approach aims to increase effective cache capacity and reduce inter-data-center transfers while adding a small CPU cost during cache fills.

### Source excerpt

Could we get more cache space with the same hardware? We prototyped compression inside Cloudflare's cache to find out.

## What We Learned Building a Rust Runtime for TypeScript

DevFeed: [What We Learned Building a Rust Runtime for TypeScript](<https://devfeed.tech/articles/what-we-learned-building-a-rust-runtime-for-typescript-17839.md>)

Original publisher: [Read original article](<https://encore.dev/blog/rust-runtime>)

Author: Ivan Cernja

Published: 2026-04-08T00:00:00Z

Content type: article

Language: en

Sources: [Encore Updates](<https://devfeed.tech/sources/encore-updates.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Tokio](<https://devfeed.tech/topics/tokio.md>), [tracing](<https://devfeed.tech/topics/tracing.md>), [Pingora](<https://devfeed.tech/topics/pingora.md>)

Tags: [building](<https://devfeed.tech/tags/building.md>), [ipc](<https://devfeed.tech/tags/ipc.md>), [latency](<https://devfeed.tech/tags/latency.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pingora](<https://devfeed.tech/tags/pingora.md>), [rust](<https://devfeed.tech/tags/rust.md>), [tokio](<https://devfeed.tech/tags/tokio.md>), [tracing](<https://devfeed.tech/tags/tracing.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

Encore describes building a Rust runtime for TypeScript applications. The runtime moves infrastructure work such as HTTP handling, database connectivity, pub/sub, tracing, metrics, storage, caching, and API gateway functions into Rust running on Tokio, while TypeScript handles application business logic. The article also explains why an IPC-based Go sidecar prototype introduced measurable latency overhead.

### Source excerpt

67,000 lines of Rust, two years, and the non-obvious problems of making Node.js and Rust work together in the same process.