Mostly, I Write
Link
tocca per mostrare
tocca per mostrare
Cloudflare ha fatto quello che secondo me dovrebbe essere lo sforzo maggiore da parte di tutti quelli che scrivono codice: ha ottimizzato alla grande salvando 100 terabyte di spazio grazie ai nuovi approcci sulla cache di 1.1.1.1 (se non sapete cos'è un DNS, e che potete usare questo gratuitamente, è il momento di chiedere lumi a ChatGPT).
Money quote: "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.
Five successive changes to how cache entries are stored in memory cut the per-entry footprint by over 50%. Across our fleet, these changes freed up roughly 100 terabytes of memory, equivalent to the amount of RAM in 130 of our Gen 13 servers. The cache also got faster. Insert throughput rose 43% and lookup latency dropped 19%, as fewer allocations and better memory locality meant we did not trade speed for space."
https://blog.cloudflare.com/dns-cache-memory-optimization-1111/
6 · 786 ·