12/29
Part 3 of 5 · Sticky routingLearn and do

A fraction of a percent per request reaches many users

Per-request rates turn into per-user rates faster than intuition says.

Take random routing at 0.8% per request. A user who sends 45 requests has a 1−0.99245=0.301 - 0.992^{45} = 0.30 chance of at least one bad answer. Here 0.992 is the chance that one request is fine.

Users who send dozens of requests are exposed dozens of times. So a fraction of a percent per request can touch a large share of them.

In the editor, write any_bad(p, n, stay): the 90% row of the last step's routing table, for any numbers. With 0.08, 12 and 0.9, it should give 15.8%.