Skip to content
javaguru
All engineering blogs

Cloudflare Featured

How we built Pingora, the proxy that connects Cloudflare to the Internet

Why Cloudflare replaced NGINX with a Rust proxy it wrote itself, serving over a trillion requests a day on a third of the CPU and memory.

InfrastructurePerformanceSoftware Architecture
Read Original Article Opens on blog.cloudflare.com. The full article stays with its publisher.

Why it's worth reading

A rare case study where the build-versus-buy decision, the architectural limits and the measured result all appear in the same post.

Key takeaways

  1. 01 A process-per-request proxy model leaves CPU cores unevenly loaded under real traffic.
  2. 02 Replacing it with a Rust implementation cut CPU and memory to roughly a third at the same volume.
  3. 03 Owning the data plane removed the upstream constraints that blocked new routing features.

Related reading

All engineering blogs
Cloudflare

How we halved DNS build delay and cut memory use by 85%

How Cloudflare's Zone Builder picks the smallest safe rebuild when DNS records change, cutting full builds by 40%, peak memory by 85% and build delay by half.

PerformanceInfrastructureReliability
18 min read
Amazon

How OrderServ achieved up to 64% cost savings with multi-tenant ECS

Cognizant and AWS moved a food-ordering platform from per-brand ECS clusters to a multi-tenant model, cutting compute cost by up to 64% and scaling in seconds instead of minutes.

InfrastructureScalabilitySoftware Architecture
Discord

Modernizing the Video Playback Experience at Discord

How Discord merged four video players into one shared player, cutting per-product player code by up to 94% and shipping the switch without users noticing.

PerformanceBackend EngineeringSoftware Architecture