🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #336962

Re: How we saved 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

#336962
From: Kerr-Mudd, John
Date: Sat, 29 Aug 2026 21:01
31 lines
2573 bytes
On Sat, 29 Aug 2026 23:17:57 +0200 (CEST)
Nomen Nescio <nobody@dizum.com> wrote:

> Sorry for the collateral damage, right?
> 
> Big Pineapple, the platform behind 1.1.1.1, Gateway DNS, DNS Firewall, 
> AS112, and several other Cloudflare DNS services, stores over 250 billion 
> DNS cache entries at any given time. At that scale, wasting a single byte 
> per entry costs more than 250 gigabytes of memory across our fleet.

[]

Well done; is that 1 less server farm or more AI wastage we get?


> We plan to reinvest the freed memory into increasing cache capacity 
> without increasing our memory usage, which improves cache hit rates and 
> reduces upstream query volume. We're also exploring further optimizations 
> to the cache itself.
Ah.
> 
> To learn more about Big Pineapple, see How Rust and Wasm power 
> Cloudflare's 1.1.1.1. If you work on DNS or other large systems, share the 
> optimizations that have worked for you in the Cloudflare Community or on 
> the Cloudflare Developers Discord.
> 
[Advert left in]


-- 
Bah, and indeed Humbug.
Technical Details
Message-ID: <20260829220142.f45f7de64681339708fda63e@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <00a6f7d1d96b7ed9a21b57e2a1d931a6@dizum.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Kerr-Mudd, John" <admin@127.0.0.1>
Newsgroups: alt.internet.newservers,alt.privacy.anon-server,misc.news.internet.discuss
Subject: Re: How we saved 100 terabytes of memory by optimizing 1.1.1.1's
 DNS cache
Date: Sat, 29 Aug 2026 22:01:42 +0100
Organization: Dis
Lines: 31
Message-ID: <20260829220142.f45f7de64681339708fda63e@127.0.0.1>
References: <00a6f7d1d96b7ed9a21b57e2a1d931a6@dizum.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 29 Aug 2026 21:33:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3742594"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19nMC22sf64w9ZPRHTHJLqcBTjE0L0GQuk="; posting-host="4334bc2ade70c07df6f2fc08e60deb1a"
Cancel-Lock: sha1:dwQdfUhnwW30eo+xCuOTo6lNpAc= sha256:xbzobWcY/JZ4uvFavPy5cjLrvpWOvVrFGYCgNu3NodA=
	sha1:nf93lv17PCWE/jZyBs9WBDZ1wLc= sha256:rY+/efVeXAJcPCyp3KkIg86Q01ykQgUWjuKEcJzwZq8=
SigSep: is ALWAYS dash dash space newline
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
;X-no-Archive: Maybe
X-Clacks-Overhead: 4GH GNU Terry Pratchett