Cloudflare·
How we halved DNS build delay and cut memory use by 85%
TL;DR
Cloudflare’s DNS update pipeline wasted time and memory rebuilding huge zones when only a setting changed. It introduced a planner that selects the smallest safe rebuild and a scheduler that combines work for the same zone. Together, these cut peak memory use by 85% and enabled shorter waits, halving the time from a DNS change to its data being written to Quicksilver for distribution to the edge.