Catalogue / cloudflare-2026-big-pineapple-dns-cache

Cloudflare frees roughly 100 TB of fleet RAM in Big Pineapple's Rust DNS cache via five memory-layout changes

Cloudflare, 2026. Big Pineapple DNS cache (1.1.1.1, Gateway DNS, DNS Firewall, AS112).

Organisation
Cloudflare
Evidence
Reported from production
Source
How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache

The Cloudflare Blog, published 2026-08-27

Records

Decision#d1

Shrink immutable Rust DNS cache structs with boxed slices, offset-indexed sections, bitflags, and optional owners

Decision#d2

Box large RecordData enum variants to stop rare 136-byte NAPTR records from padding A and AAAA records

Decision#d3

Pack cached DNS record data in a contiguous length-prefixed wire-format byte slice built via a reusable scratchspace

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.