Engineering
How we push a kill switch to 312 edge nodes in 38 ms
A kill switch that takes a minute to arrive is a status page with extra steps. How our control plane fans a single write out to 312 edge nodes, and where the 38 ms actually goes.
Author

Staff Engineer, Edge
Avery builds the edge evaluation layer at Driftwire: the part that answers "is this flag on?" four hundred thousand times a second without asking anyone.
A kill switch that takes a minute to arrive is a status page with extra steps. How our control plane fans a single write out to 312 edge nodes, and where the 38 ms actually goes.
A 25% rollout is not "one request in four". It is a stable answer to "is this user in?", identical on every server, that never flips a user back out. That is a hashing problem.
Evaluating flags at the edge is fast. Evaluating them on your server is simple. Which one you want depends on numbers you can measure in an afternoon.