Saving 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.
900 points by TangerineDream 2 days ago blog.cloudflare.com 280 comments

Summary

Cloudflare’s Big Pineapple has implemented five memory optimizations that reduced the DNS cache’s per-entry footprint by 56%, resulting in a significant recovery of 100 terabytes of memory across its network. This efficiency boost highlights the impact of thoughtful engineering on resource management.

Comments (280 of )

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open