TLDR Dev · ARTICLES & TUTORIALS

HOW WE HALVED DNS BUILD DELAY AND CUT MEMORY USE BY 85%

blog.cloudflare.com18 min read

Summary from the TLDR Dev newsletter

Cloudflare replaced full DNS zone rebuilds with a planner that selects the smallest provably safe update and a scheduler that combines work for the same zone. The changes cut peak memory by 85% and halved the delay from a DNS change to its data being written to Quicksilver without rebuilding tens of millions of records for a settings change.