Back to news
security Priority 4/5 8/28/2026, 11:05:47 AM

Cloudflare Reduces DNS Cache Memory Usage by 100 Terabytes Across Global Network

Cloudflare Reduces DNS Cache Memory Usage by 100 Terabytes Across Global Network

Cloudflare has detailed five Rust-level memory layout optimizations applied to the DNS cache of its 1.1.1.1 public DNS resolver service, internally known as Big Pineapple. By redesigning how cache entries are stored in memory, engineers managed to cut per-entry memory consumption by 56 percent. This optimization successfully freed approximately 100 terabytes of RAM across Cloudflare's entire global server fleet.

Related tools

Recommended tools for this topic

These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.

#cloud#security#official#1.1.1.1#deep dive

Comparison

AspectBefore / AlternativeAfter / This
Per-entry memory footprintHigher memory consumption due to unoptimized Rust layoutReduced by 56% through field reordering and optimized types
Global fleet memory usage100 TB more RAM consumed by DNS cache entries100 TB of RAM reclaimed for other system processes
Cache layout designStandard structures with padding overheadCompact Rust-level memory alignments and optimized pointers

Source: Cloudflare Blog

This page summarizes the original source. Check the source for full details.

Related