Oriel — AI & technology worth noticing, every day.

We halved DNS build delay and cut memory use by 85%

Web page · https://blog.cloudflare.com/dns-targeted-zone-builds

Zone setting changes used to rebuild entire DNS zones, even ones with tens of millions of records. Here is how we built a planner that picks the smallest safe build, cutting full builds by 40%, peak memory by 85%, and halving build delay.

First seen by Oriel on .

AI summary

Cloudflare redesigned its DNS Zone Builder with targeted planning and unified scheduling, halving DNS build delay while reducing peak memory use by 85%.

  • Zone setting events now identify changed fields, allowing builds to update specific names, metadata, apex data, purge zones, or rebuild full zones.
  • The planner remains conservative: uncertainty, missing details, or changes affecting records anywhere trigger full builds unless large zones exceed the full-build threshold.
  • A unified scheduler merges pending work for each zone, preserves Kafka acknowledgements across retries, and prevents busy zones from monopolizing workers.
  • Shared metadata for same-name zones is reconstructed from a fresh publication snapshot, preventing stale zone selections and accounting for independent database replication lag.
  • Equivalence tests, production mirroring, and sampled comparisons verify targeted outputs against full-build results, including missing, extra, and differing Quicksilver keys.

#dns #kafka #quicksilver #cloudflare developer platform

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 198, latest observation ; +192 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 80, latest observation ; +80 over observed period since

Aliases

SourceExternal IDURL
Cloudflare Blog01M5J4YTFMTRT7PG1Y8HAPNPYGhttps://blog.cloudflare.com/dns-targeted-zone-builds/ Read discussion
Hacker News50337558https://blog.cloudflare.com/dns-targeted-zone-builds/ Read discussion