Gazette

Vol. 84 Sunday, 30 August 2026
Vol. 84 30 Aug 2026

Cloudflare optimized 1.1.1.1's DNS cache to use 56% less memory per entry, saving about 100 terabytes across their fleet. These changes also made the cache faster, increasing insert speed by 43% and reducing lookup time by 19%. They plan to use the saved memory to store more cache entries and improve performance even more.

2 highlights

Rust enums are sum types: each variant can carry different data, but the enum is always the size of its largest variant.

Boxing has two costs. The first is allocator overhead. ... The second cost is poor memory locality.