TGViewer
Architecture Weekly Architecture Weekly @architectureweekly · 2.98K subscribers
Post #871 1.6K
DNS Cache Memory Optimization 👷‍♂️
Whoever tells you data structures don’t matter in the age of AI - ban them. Cloudflare manages to save hundreds of terabytes of memory across the glove doing small optimizations to the ways DNS cache records are stored with the knowledge of how Rust store data and dropping dns owners when they are identical. Brilliant engineering work.

#dns #performance
Cloudflare Blog How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache Five Rust-level memory optimizations to the DNS cache layout of Big Pineapple cut per-entry memory by 56%, freeing approximately 100 TB of memory across Cloudflare's fleet.
  • 👍 1
More from @architectureweekly
  1. Oct 8, 2026How Stripe and Paypal never lose a single penny 👷‍♂️ While working at Bolt the payments a…
  2. Oct 7, 2026Introducing TIN for PostgreSQL 🤟 PlanetScale just introduced a new type of the full text…
  3. Oct 4, 2026Why has Shopify dropped React Native? 🍼 Not sure you’re aware, but I used to build native…
  4. Sep 30, 2026https://softwarearchitectureweekly.substack.com/p/how-we-built-a-production-ai-agent?r=1m9…
  5. Sep 17, 2026Uber Eats Search Pipeline 👷‍♂️ Search Performance is always - and I mean it - always is a…
  6. Sep 16, 2026Github 5 Incidents in August 👷‍♂️ The Github availability became a living joke this year,…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →