Explain the three decisions where learned steering beats a current-state rule.

Once the lower rungs are in place, a learned policy can do three things a simple rule cannot.

  1. Anticipating congestion. A site that is fine now but reliably fills up at 7 p.m. on weekdays can be eased off at 6:45. A rule based only on the current state can react only after users are already slow.
  2. Handling partial degradation. Instead of “in or out”, a learned policy shifts a proportion of traffic in response to a graded signal, then adjusts based on the latency that results.
  3. Learning per client network. Real routing is uneven. A policy that learns which site truly serves each network fastest will sometimes contradict the geographic map, and it will be right.

This shows the learning cycle as five stages: observe (latency, health, load and time of day per client network), predict (the expected latency for each candidate site right now), decide (choose, while keeping a small share exploring alternatives), serve (answer within the record’s TTL limits), and learn (feed the observed result back in).

The “watch out” box describes the one idea in this module most home-made systems miss: exploration. Imagine you always eat at your favourite restaurant. You will never discover that a new place down the road has become better, because you never go there. A steering policy that always chooses the site it currently believes is best has the same problem. It gets feedback only about the sites it uses, so it cannot learn that a site it abandoned has improved. This is known as a bandit problem: repeated choices among options whose results are uncertain and change over time (Sutton & Barto, 2018).

The fix is to reserve a small share of queries for deliberate testing. The slide’s advice is to budget 1 to 5%, cap the latency penalty, and switch exploration off during incidents. These three settings are the ones to argue about in a design review.

The third card creates the most friction in organisations. A learned policy will sometimes route a country somewhere the map says it should not go. When this happens, the model is usually reflecting real routing behaviour that the map never knew about. Verify the measurement first, rather than overriding the decision.