A resolver can cache one weighted DNS answer and reuse it for many clients. If a large corporate resolver receives the canary address, that single selection may deliver a disproportionate share of HTTP traffic to the new region. Measure the DNS answers and the application requests separately.
Count at the layer you want to change
Suppose a busy enterprise resolver receives the new region on its first lookup of the day. Clients can reuse that answer throughout its cache lifetime, and some open connections can carry many requests. Repeating a lookup against that resolver can return a single cached selection hundreds of times. Use independent fresh samples for DNS behavior and regional application logs for observed load.
From a weight to observed application load
- 1SelectionThe authority chooses among eligible candidate records.
- 2ReuseA recursive cache distributes one answer to its clients.
- 3TrafficClients establish connections and send varying numbers of requests.
Set a promotion criterion before increasing the weight
Before raising the weight, set a minimum observed request count and acceptable error and response-time limits for the canary. Watch the new region’s application logs until it meets those conditions. After rolling back a weight, continue monitoring the canary while existing connections and cached answers drain.
Sources & further reading
Reader questions
Are weights always percentages?
A proportional policy commonly uses relative values. Weights of 9 and 1 give the same nominal split as 90 and 10 under the same selection rules.
Can I perform a user-level A/B experiment with DNS weights?
A shared resolver can group many users behind one answer, and a user can change endpoints later. Use an application-level assignment when stable user cohorts matter.
What should I watch during rollback?
Watch requests and errors at the withdrawn region until traffic has drained. Keep it capable of serving clients that still have an earlier address.
