When in Doubt, Rebuild Everything: Proofs, Merging, and Soft Commits in Cloudflare's Targeted DNS Builds
The planner chooses only the smallest build provably byte-identical to a full rebuild, the scheduler merges additively, and Kafka soft commits ensure no change is dropped.
1. Full Builds Are the Simplest—and the First to Break as Zones Scale
How we halved DNS build delay and cut memory use by 85% was published on 2026-11-02 by Alex Fattouche. It follows up on an earlier post by the same author from 2022-05-25, when Zone Builder had already moved single DNS record edits from full zone rebuilds to per-record builds. The 2022 numbers: Zone Builder received roughly 250 record changes per second; per-record builds were 150x faster than full builds on average; and on a one-million-record test zone, they were 4,250x faster (6 to 8 ms for a single record versus about 34 seconds for a full build). That post closed by noting that the obvious next step was doing the same for zone settings, alongside introducing a batching layer to reduce queries to the database and Quicksilver.
Four years later, the 2026 post reports that Zone Builder receives roughly 700 record changes per second—nearly triple the 2022 rate—plus around 100 other events such as zone setting changes. Yet the author immediately shifts the focus from "how many events arrive" to "how much work an event requires": some zones now hold more than 20 million records, and Cloudflare expects them to grow into the hundreds of millions. Event volume was never the real problem; the real problem is that the work required by certain events scales with zone size.
The post defines a build clearly: read current database state, transform it into the format used at the edge, and write any changes to Quicksilver. The 2020-03-30 introductory post describes Quicksilver as Cloudflare's in-house distributed key-value store backed by LMDB that fans out configuration updates to data centers; the 2026 post refers to it simply as "our distributed key-value store," from which authoritative DNS servers read answers. Build completion delay is measured up to the moment Zone Builder finishes writing to Quicksilver, excluding subsequent distribution across the network—the author explicitly notes that propagation varies by location and is unaffected by this work.
The original Zone Builder had a very useful property: it did not need to know why a zone had changed. It simply reconstructed desired state from the current database:
- Read the current zone and its settings;
- Read every DNS record in the zone;
- Convert those records into Quicksilver keys;
- Diff them against the existing keys;
- Delete stale keys, write changed ones, and update zone metadata.
The final write did contain only the changed keys. Even so, a full build still had to read, encode, and compare every record while holding the entire zone in memory. That is cheap for small zones; for the largest zones with tens of millions of records, the entire zone can no longer fit in memory. The author later explains how they handle those zones, but the trade-off is stark: correctness came from recomputing from the source of truth every time, while performance stayed tied to zone size.
Zone settings make "rebuild only what changed" much harder. The post uses Universal SSL as an example: toggling it updates metadata and can also rewrite CAA records at the zone apex (the bare domain, such as example.com). CAA records tell certificate authorities whether they are allowed to issue certificates for that domain. Record events usually point to the exact record that changed; zone events can originate from many Cloudflare products, do not always explain why the zone changed, and may alter data shared by multiple zones with the same name. Scope the build too broadly and you waste capacity; scope it too narrowly and you leave stale or incorrect DNS data at the edge.
The real theme of this work is therefore not "make it a bit faster," but "prove when doing less work is still correct." The author breaks it down into five problems that had to be solved first: events must state what changed; each change must map to the smallest build that remains correct; builds must account for data shared across same-name zones; the database may change again between an event and the actual build; and merging work must not drop a single Kafka message.
The pipeline itself was not replaced with a brand-new system. A customer edits a record via the DNS Records API or dashboard, or another Cloudflare service updates a zone setting; the change is written to the database; database changes or other systems emit Kafka events; the DNS Kafka Aggregator merges multiple topics and forwards them to Zone Builder; Zone Builder reads the necessary zone data, converts it into keys authoritative servers understand, diffs against what is already in Quicksilver, and writes only the delta. The author stresses that this is a simplified view: Zone Builder is not copying database rows verbatim to the edge. It combines records with zone settings, applies DNS serving rules, and lays out the result in a shape authoritative servers can read quickly.
2. Five Build Types, and "Byte-Identical or Fall Back to Full"
To do less work, events first had to become more specific. The team updated event producers to include the changed zone fields and settings—along with old and new values whenever available—then traced the DNS output generation code to see what each setting could affect and classified them accordingly.
Not every event can be that specific. Some database functions only bump a timestamp, effectively saying "something in this zone changed." Sometimes that is harmless bookkeeping; other times it means data changed elsewhere and has to be reread. The two cases look identical in the event stream. Until callers and intent can be identified, timestamp-only updates continue to trigger full builds. The same rule applies to missing details, unknown events, or any change that could affect arbitrary records in the zone. The author distills the planner's personality into a single principle: The planner never turns uncertainty into less work.
Quicksilver output has two parts here. Record keys store DNS answers for a given zone and name; a smaller shared metadata key tells authoritative servers how to use the zone, including where to find special records such as nameservers and wildcards. Some events touch only record keys, while others must update both. With that split in place, the planner chooses among five build types:
| Build type | What it does | Typical trigger |
|---|---|---|
| Resources only | Rebuilds records for specific DNS names (resources), leaving metadata alone | Typical A, AAAA, TXT, and CNAME changes usually take this path |
| Resources and metadata | Rebuilds specific names and updates shared metadata | Nameserver and wildcard changes |
| Apex and metadata | Rebuilds the zone apex and metadata | Settings like Universal SSL can use this path |
| Purge | Removes a zone that should no longer be published | Zone is no longer published on the current network |
| Full zone | Rebuilds every record in the zone | When smaller work cannot be proven safe |
The rule itself is simple, and it is the single line most worth remembering from the entire post: every key written by a targeted build must be byte-for-byte identical to what a full build would write; if that cannot be proven, do a full build.
Cleaning up old state works the same way as in the 2022 per-record builds. Record events carry deleted records as well as the previous versions of updated records; Zone Builder then scans existing Quicksilver keys under every name it is about to rebuild and deletes anything the new build does not emit. They learned this the hard way back in 2022: PGQ update events at the time carried only the new record, so renaming a record left the old name stuck in Quicksilver until they split such updates into a create plus a delete. Targeted builds work not just because you read fewer records, but because events carry enough information about what used to be there.
Full builds are still necessary. One case is a change that could affect records anywhere in the zone; another is a zone being published for the first time, where every record has to be written out. And for small zones, a full build is inexpensive anyway.
There is one deliberate exception. A full build holds both every database record and every existing Quicksilver key for the zone in memory at the same time, and the largest zones simply do not fit. Above a fixed record-count threshold, Zone Builder stops escalating to a full build and instead rebuilds the apex, metadata, and every name mentioned by queued events. The author accepts this trade-off because a full build on those zones cannot finish anyway, and retries would block other customers' changes on the same Kafka partition. Many cases that would otherwise require a full build arise from multiple zones sharing a single name, and zone hold reduces that risk by blocking the same name from being added to another account. For rare remaining cases—such as enabling a zone on another network—they can manually rebuild individual names in the zone. The post does not disclose that record-count threshold, so I will not guess it.
flowchart TD
ev["Event arrives at planner"] --> known{"Can we prove which names are affected<br/>and whether shared metadata changes?"}
known -->|"No: missing details, unknown event,<br/>timestamp-only update, or any record may change"| full["Full zone"]
known -->|"Zone should no longer be published on this network"| purge["Purge"]
known -->|"Typical A / AAAA / TXT / CNAME"| res["Resources only"]
known -->|"Nameserver or wildcard"| resmeta["Resources and metadata"]
known -->|"Settings like Universal SSL that can use the apex path"| apex["Apex and metadata"]
res --> eq{"Can every key written by the targeted build<br/>be proven byte-identical to a full build?"}
resmeta --> eq
apex --> eq
eq -->|"No"| full
eq -->|"Yes"| run["Execute this targeted build"]This diagram is an illustration drawn from the official categories, not a state machine lifted from their repository. Keep the hedges too: ordinary record changes "usually" take Resources only, and Universal SSL "can use" Apex and metadata. What the planner actually enforces is the byte-identical proof, not a static lookup table.
3. Same-Name Zones, Two-Stage Planning, and an Additive Unified Scheduler
Quicksilver stores each zone's record keys separately, but keeps a single shared metadata key per public domain across all Cloudflare zones. That key acts like a directory: it tells authoritative servers which internal zone IDs may be used when answering queries.
Why can one domain name correspond to multiple zone IDs? During customer onboarding, offboarding, and other lifecycle transitions, several Cloudflare zone objects can temporarily coexist under the same public domain. A priority policy selects a small, bounded subset to publish. The post illustrates this with four internal zones for example.com: Zone 101, 202, 303, and 404. The metadata key currently lists 101, 202, and 303; 404 exists, but is not selected. The customer still sees a single domain.
Changing a TXT record on www.example.com in Zone 202 affects only Zone 202's own record key, leaving the metadata key untouched. Nameservers and wildcards are different: because the metadata key stores data tied to them, those builds must update both the zone's records and the shared key.
At execution time, Zone Builder reads the current list again. Whenever it writes the metadata key, it rebuilds the entire key from that fresh view rather than patching an old copy. Write ordering is also fixed: write the records for the triggering zone first, then write the metadata that references them. The author does not spell out why, though given what the two key types mean, pointing the directory at records that have not been written yet would create a brief window of inconsistency.
Events describe the past. A build may wait for more events to arrive, and the database may have moved on in the meantime, so planning happens twice. Events first produce a conservative work list; right before execution, Zone Builder fetches a fresh publishing snapshot: current zone settings, whether this Zone Builder should publish the zone to its target network, and which same-name zone IDs belong in the metadata key. Here, a "network" is an isolated copy of Quicksilver corresponding to an environment; each Zone Builder deployment writes to only one network, and a zone can be enabled on some networks while disabled on others. As an example, the author notes that a zone can be served on Cloudflare's global network and on the China Network at the same time.
Fresh state can reshape the build in four ways:
- If the zone now has features requiring whole-zone work, a targeted build can escalate to a full build;
- If the zone should no longer be published on the current network, the build can turn into a purge;
- If the triggering zone no longer belongs in the metadata key, the build can be skipped altogether;
- A metadata build can rebuild the shared key from the current candidate set.
Fresh reads go to a database read replica so builds do not contend with customer writes. Kafka delivery and database replication progress independently, meaning an event can arrive before the corresponding database change is visible on the replica. The DNS Kafka Aggregator delays events long enough to cover normal replication lag, and a final database check rejects the read if the replica is still behind.
Previously, record work and full-zone work went through two separate schedulers. Each could coalesce work of its own kind, but neither could merge across the boundary. They replaced both with a unified scheduler: the planner decides what must be built, and the scheduler decides when it can run.
Suppose several events arrive for the same zone before a build starts: an A-record change on www.example.com asks to rebuild that name, and a wildcard change on *.example.com asks to rebuild that name plus shared metadata. The scheduler merges both names and the metadata update into a single build. Merging only adds work: if any event requires a full zone, the merged build becomes full; a purge overrides all rebuilds because its desired outcome is that the zone is no longer published.
The scheduler tracks two things separately: the DNS work that must execute, and the Kafka messages waiting to be acknowledged. Both survive retries. Even after a full build or a purge makes individual record names redundant, those messages remain attached to the result until writes finish safely. In other words, the work list can be subsumed or overridden, but the ack list can never shrink because of it.
With the unified scheduler in place, the batching scheme planned back in 2022 ("collect a batch before building") became unnecessary: the scheduler never waits just to form a batch, and merges incoming events only when work for that zone is already queued.
4. Soft Commit: Out-of-Order Completion, Prefix-Only Commits
A single slow build can hold up unrelated customers even when idle workers are available. Kafka divides messages into ordered partitions, and each partition maintains a committed offset: every message up to that point is known to be complete. Advance that offset past unfinished work, and a restart can silently drop a customer change.
Their solution is soft committing. Fattouche had already written about the same idea in his 2020-09-15 post Secondary DNS - Deep Dive. There, the setting was Zone Transferer running zone transfers concurrently: Kafka is just a FIFO queue, concurrent readers can finish and commit a middle message first, and Kubernetes pods are ephemeral. If offset 2 commits and the pod restarts, the transfer for offset 1 never runs again. The 2020 algorithm kept an ordered in-memory list of read messages by offset, removed a message when its transfer finished, and actually committed the offset only when it was the oldest entry in the list. Applied to Zone Builder in 2026, the description is almost identical: a build can complete out of order and be marked complete in memory, while Kafka's committed position advances only once every preceding message has also completed.
The Secondary DNS post also noted a precondition in distributed deployments: for this to hold across replicas, Kafka messages should be keyed by zone ID so the same zone is always handled by the same consumer. The 2026 post does not restate how partition keys are chosen, so I record that strictly as a constraint documented in 2020 rather than asserting Zone Builder definitely uses the same key today.
The Go snippet below is my own illustration demonstrating "out-of-order completion, contiguous-prefix commit advancement." It is not Zone Builder's source code and does not talk to a real Kafka cluster. I ran it on Go 1.27.3, and the output below is from that run.
// Unofficial / illustrative implementation: demonstrates the soft-commit low-water mark on a Kafka partition.
package main
import "fmt"
// committed is the highest offset for which every prior message has completed.
// Kafka's committed position may advance only after a contiguous completed prefix moves forward.
type SoftCommit struct {
committed int
done map[int]bool
}
func NewSoftCommit() *SoftCommit {
return &SoftCommit{done: make(map[int]bool)}
}
func (s *SoftCommit) MarkComplete(offset int) {
s.done[offset] = true
for s.done[s.committed+1] {
s.committed++
delete(s.done, s.committed)
}
}
func main() {
sc := NewSoftCommit()
for _, off := range []int{1, 3, 4, 5, 6, 2} {
sc.MarkComplete(off)
fmt.Printf("After completing offset %d: committed watermark=%d, restart replays from %d\n",
off, sc.committed, sc.committed+1)
}
}Actual output:
After completing offset 1: committed watermark=1, restart replays from 2
After completing offset 3: committed watermark=1, restart replays from 2
After completing offset 4: committed watermark=1, restart replays from 2
After completing offset 5: committed watermark=1, restart replays from 2
After completing offset 6: committed watermark=1, restart replays from 2
After completing offset 2: committed watermark=6, restart replays from 7Even though offsets 3 through 6 finish first, the watermark stays at 1; only once the blocking offset 2 completes does the watermark jump straight to 6. If the process restarts while 2 is still running, the in-memory completion marks for 3 through 6 disappear, Kafka remains at watermark 1, and replay runs from 2 through 6. The original post puts the trade-off bluntly: they deliberately choose duplicate work over losing a change.
Targeted planning helps here not only by reading fewer records, but also by shortening how long the oldest unfinished message can pin a partition. The scheduler also keeps a single busy zone from hogging all workers: after a zone finishes building, its next build waits for a rebuild interval that varies by Cloudflare plan, and any changes arriving during that interval are merged into the next build. The scheduler normally enforces this interval, but if queued work has grown old enough to threaten stalling the entire Kafka partition, it lets that work run early. Zone locks and retry backoffs remain active so failing builds cannot spin in a tight loop.
Replay is safe because of the exact same "useful property" of full builds from Section 1: the source of truth is current database state, and events mainly narrow the scope of work rather than acting as patches that must be applied in order. When a message is replayed, the planner looks at the current database again; it may merge, escalate, downgrade to a purge, or skip outright, rather than treating a stale event as an instruction to rewrite an old value.
5. How to Prove Targeted Output Equals Full Output
Smaller builds only matter if they produce the exact same DNS data. The team added equivalence tests for the nameserver, wildcard, and apex paths: each test runs both a full build and a targeted build against the same database state, freezes time-dependent values, and compares every Quicksilver key owned by the targeted plan byte-for-byte. Planner and scheduler tests cover classification, same-name zones, merging, purges, and escalation. During rollout, they even ran a full build alongside every targeted build and compared the outputs. That was expensive by design—reading the entire zone every time—so it stayed on only until mirror comparison gave them the same confidence.
Tests cannot anticipate every customer configuration, so every release also passes through a mirror Zone Builder. It consumes the production Kafka stream and reads production database state, but writes to a separate Quicksilver cluster serving zero customer traffic. A comparator samples 20% of zones, hunting for missing keys, extra keys, and mismatched values. The two environments do not always build the same zone at the exact same moment, so a transient mismatch is not automatically a regression. What they look for are new classes of differences that persist after both sides have caught up.
To track this, they built the DNS Mirror Dashboard to categorize discrepancies and keep examples for investigation. The post notes that it runs on Cloudflare's developer platform: a Worker ingests results, Durable Objects store state, and Cloudflare Access protects it. The text describes the screenshot as showing a 0.31% difference rate across 234,313 matched zones, where the difference rate is the share of zones on which production and mirror disagree on at least one key at the moment of comparison. Most of those are timing gaps that clear once both pipelines catch up, so the team watches two signals: the difference rate staying low, and no new kinds of differences showing up.
Once mirror results stayed healthy, they rolled out the unified scheduler incrementally by hashing the zone name rather than the zone ID. Hashing by name ensures that all zones sharing a domain land on the same scheduler, preventing two schedulers from concurrently writing the same metadata key. They ramped up the percentage on free zones first, then repeated the process for paid zones.
The rollout process itself restates the planner's philosophy: the incremental path is untrusted by default until it has run side-by-side with the full path and matched byte-for-byte on every key.
6. How to Read the Official Numbers, and Why Full Builds Remain
Every number below comes from Fattouche's 2026-11-02 post and reflects Cloudflare's own measurements. I have not reproduced them, nor should they be read as a latency guarantee for any individual zone—as the author notes, these figures blend every build type and every customer plan.
Over a 24-hour period, 86.81% of builds were Resources only, 2.54% were Resources and metadata, 2.30% were Apex and metadata, and 1.30% were purges. Taken together, 92.95% of builds avoided rebuilding the entire zone, leaving full builds at 7.04%. Both metadata build types used to be full builds even on large zones, totaling 4.84%; combined with the remaining 7.04%, that is 11.88%, meaning full builds dropped by roughly 40%. Share of build count understates the work saved, because the eliminated builds included the largest zones. The full builds that remain average only 0.35 seconds, because the events that still trigger them—such as publishing a zone for the first time—mostly land on new zones with very few records.
For context, in 2022 they wrote that full builds could not yet be eliminated completely and accounted for roughly 13% of all DNS builds, driven by DNS setting changes that required whole-zone visibility. The 7.04% from 2026 and the 13% from 2022 are not before-and-after measurements from the same 24-hour sample, so you should not just subtract one from the other; the "roughly 40% reduction" above compares "the two formerly full metadata build types + still-full builds" against "still-full builds" within that 2026 24-hour window.
Previously, a long full build would pin its partition's committed offset. With far fewer of those builds, Kafka consumption now keeps pace with event arrival instead of falling behind and catching up in bursts peaking around 1,550 messages per second. As described in the post's two charts, production stays roughly between 600 and 800 messages per second; before the change, consumption swung between roughly 300 and 1,550, whereas afterward it tracks production at roughly 600 to 800 messages per second.
Build completion delay measures the time from a DNS record or zone setting change until Zone Builder finishes writing to Quicksilver. In what the author calls a controlled side-by-side comparison over the same 24 hours and the same event stream, production ran the old scheduler while the mirror ran the unified scheduler—both consuming the same Kafka stream, reading the same database, and writing equivalent data to Quicksilver. A large slice of that delay is the rebuild interval mentioned earlier rather than build computation itself. Typical latency barely budged because most builds were already small; the difference showed up in the tail, where the largest p99 spike fell from 14.6 minutes to 1.21 minutes—roughly a 12x reduction.
Targeted builds also mean far fewer full loads of massive zones. Active working-set memory across the deployment dropped from an average of 49 GiB to 7 GiB (an 86% reduction), and peak memory dropped from 79 GiB to 12 GiB (an 85% reduction). The headline's "cut memory use by 85%" refers to that peak figure.
Those were the direct results of the new scheduler, and they let the team revisit two resilience-motivated delays. The first was the rebuild interval: with builds much cheaper and full zone reads far rarer, they could safely shorten it on most plans. The second was how long DNS Kafka Aggregator held each event waiting for database replicas to catch up: once the database began rejecting reads from lagging replicas, that buffer could shrink as well. Together, they roughly halved median build completion delay, from about 7.7 seconds to about 3.3 seconds. The first step down on the chart comes from the Aggregator change, moving the median from about 7.7 seconds to 6.4 seconds; a red band then marks the rollout of Zone Builder with shorter rebuild intervals, and because it rolled out gradually, latency drops in two more steps to about 3.3 seconds. On that same chart, p90 fell from about 10 seconds to 7.4 seconds, while p99 appeared stuck around 27 seconds.
The author adds an explicit caveat: those upper percentiles are not as accurate as they look. The histogram buckets at the time sat at 1, 5, 10, and 30 seconds, so any percentile falling between bucket boundaries was interpolated assuming latencies were distributed uniformly across the bucket. Most latencies actually clustered near the bottom of the bucket, skewing estimates upward: p99 read close to 30 seconds, and p90 read above 7 seconds. The exact unbucketed mean confirmed the halving. They later switched to native histograms that automatically choose fine-grained buckets: median sat around 3.4 seconds, p90 around 5.5 seconds, and p99 mostly between 10 and 14 seconds (summarized elsewhere in the post as about 12 seconds).
Back in 2022, their plan was to eliminate full builds entirely. The 2026 conclusion is that doing so is neither realistic nor useful. Publishing a zone for the first time requires writing every record; a change that can affect records anywhere requires checking every record; an event that does not clearly specify what changed still triggers a full build because the planner never turns uncertainty into less work; and for small zones, full builds are cheap anyway. They will continue moving more events onto targeted builds, yet the biggest gains are already in: events that used to rebuild the largest zones no longer do, and the remaining full builds are mostly triggered by first-time publishes on new, small zones.
7. My Take
-
The hard part is never "incremental"—it is proving that doing less is still right. Incremental compilation, build caches, materialized view maintenance, and this planner all share the same shape: compute a conservative invalidation set, and if you cannot prove that set is complete, fall back to a full recomputation. In systems like Bazel, an undeclared input silently corrupts incremental results; Cloudflare turned that exact risk into an executable acceptance bar—targeted output must be byte-identical to full output, or you do not take the shortcut. Designing that proof costs far more engineering effort than skipping the extra reads afterward.
-
Additive merging is the dual of "when in doubt, go full." The planner refuses to turn uncertainty into less work; the scheduler refuses to drop any proven-necessary work when coalescing, with only a purge allowed to override rebuilds because it represents a stronger desired state. The work set grows by union, the ack set stays attached by union, and neither side permits clever subtraction. Think of dirty names per zone as a set where merging is just set union. In 2022 they considered batching events before building; the unified scheduler took a cleaner path—never wait just to form a batch, and merge only when work is already queued. For a latency-sensitive pipeline that also has to avoid redundant full builds, that is far more honest than timed batching.
-
Soft commit is consumer-side at-least-once delivery, and replay only works because events are not patches. A Kafka committed offset must remain a completed prefix—you cannot jump over an unfinished hole just because later messages finished first, any more than you can acknowledge a later segment of a TCP stream while leaving an earlier gap unreceived. Trading duplicate work on restart to avoid dropping updates is the classic at-least-once bargain. What makes it work for DNS builds is the crucial premise that builds recompute from current database state rather than applying event payloads as incremental patches to the edge. Events narrow the scope; the database supplies the truth. Copy this low-water-mark pattern onto a consumer that performs non-idempotent writes straight from message payloads, and replay turns from duplicate work into duplicate side effects.
-
The post is candid about where things can still go wrong. If classification misses that a setting can affect other names in a zone, a targeted build will under-write or mis-write keys—which is exactly what equivalence tests and mirror comparisons exist to catch. The shared metadata key across same-name zones is a natural write-conflict point, which is why rollout hashes by zone name rather than zone ID so same-name zones stay on one scheduler. Events can outrun replica visibility, requiring both Aggregator delay and lagging-replica read rejection. Refusing to escalate to a full build above a record-count threshold is an acknowledged gap: correctness relies on queued events naming every affected resource and on zone hold reducing same-name zone exposure, with manual per-name rebuilds covering the residue. Timestamp-only updates still going full show how incomplete producer observability leaks directly into wasted work. The author even explains in the body how coarse histogram buckets inflated percentile readings—anyone citing the official latency numbers should read that caveat alongside them.
-
What transfers elsewhere is not the "five DNS build types," but the separation of responsibilities. The planner answers what must be built, the scheduler answers when it may run and how to merge, and the Kafka message list answers when it may be acknowledged. Plan conservatively when events arrive, then replan against a fresh snapshot right before execution; default classification failures to escalation, enforce byte-level equivalence in CI, validate the incremental path with a mirror consumer on production traffic, and hash by shared-state key during rollout so two schedulers never race on the same metadata. Every piece of that applies to any control-plane-to-edge projection pipeline—config distribution, certificate rollout, rule compilation, or partial search index updates. DNS simply raises the cost of being wrong high enough to make "proof" a first-class citizen.
-
Giving up on "eliminating full builds" is where the 2026 post is more mature than 2022. First publishes, changes that can affect arbitrary records, and underspecified events should read the whole zone, and doing so on small zones is cheap. A common trap in incremental systems is treating the full path as a failure mode and taking shortcuts even when safety cannot be proven. Cloudflare pulled the largest zones off the full-build path while acknowledging that full builds remain a cheap, necessary tool. Treat the headline "85%" and "halved" as Cloudflare's own measurements; the far more portable design takeaway is the unquantified principle behind them: the planner never turns uncertainty into less work.
References
- How we halved DNS build delay and cut memory use by 85% (Alex Fattouche, 2026-11-02)
- How we improved DNS record build speed by more than 4,000x (Alex Fattouche, 2022-05-25)
- Secondary DNS - Deep Dive (Alex Fattouche, 2020-09-15, on soft committing)
- Introducing Quicksilver: Configuration Distribution at Internet Scale (Geoffrey Plouviez, 2020-03-30)
Related Posts
Wrangler
How to set up a realistic API with Wrangler: defining your Worker, connecting Cloudflare resources, isolating environments, and deploying
Inside React 19.3's Runtime Primitives: ViewTransition-Suspense Coordination, FragmentInstance, and use(browser())
React 19.3 stabilizes <ViewTransition> and Fragment Refs, introduces use(browser()) for Suspense-native SSR opt-out, passes Trusted Types through without string coercion, allows Server Components to render Client <Context> directly, and decouples concurrent Transitions from entangling into a single render.
Repurposing GC Reachability to Catch Partial Deadlocks: Inside Go 1.27's goroutineleak Profiler
Go 1.27 ships the goroutineleak profiler in runtime/pprof and net/http/pprof. Rather than sampling stacks or guessing from goroutine counts, it adapts Go's tri-color mark-and-sweep GC to compute an inductive liveness fixpoint LIVE+(g)—pinpointing permanently blocked goroutines in production with near-zero false positives, while carrying sharp boundaries around memory overreach, O(n²) daisy-chains, and non-channel blocking.