{
  "id": 3815795,
  "title": "Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache",
  "url": "https://urgent.news/2026/08/27/saving-100-terabytes-of-memory-by-optimizing-1-1-1-1s-dns-cache-3815795",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-27T17:17:57.000Z",
  "source": {
    "name": "Hacker News Best",
    "slug": "hacker-news-best",
    "url": "https://blog.cloudflare.com/dns-cache-memory-optimization-1111/"
  },
  "original_language": "en",
  "account": "Big Pineapple, the platform behind 1.1.1.1 DNS service, stores over 250 billion DNS cache entries across its fleet. By optimizing the cache's memory footprint, they were able to free up roughly 100 terabytes of memory. Five changes to the cache storage process reduced the per-entry footprint by over 50%, resulting in significant memory savings. These changes also improved cache performance, with throughput increasing by 43% and lookup latency dropping 19%. The optimizations proved especially impactful for DNS queries using EDNS Client Subnet (ECS). Instead of storing multiple versions of the same query, the service now stores just one with offsets for the response sections. This change saved 28 bytes per cache entry. Overall, the optimizations led to substantial memory and performance improvements, equivalent to 15 terabytes of memory and faster lookup speeds.",
  "summary": "Article URL: https://blog.cloudflare.com/dns-cache-memory-optimization-1111/ Comments URL: https://news.ycombinator.com/item?id=49468083 Points: 277 # Comments: 79",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Hacker News",
        "title": "Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache",
        "url": "https://urgent.news/2026/08/27/saving-100-terabytes-of-memory-by-optimizing-1-1-1-1s-dns-cache",
        "published": "2026-08-27T17:17:57.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}