The Canary Is Coughing
Easy · system design problem
Half of traffic runs the new release, and its new dependency just slowed down. v2 fails about a third of requests — not enough to trip a breaker, plenty to break the SLO.
Nginx splits traffic 50/50 between api-v1 and the new api-v2. v2 calls a new recommendations vendor on every page view, and at T+20s that vendor degrades for the rest of the day. v2’s new page cannot render without the recommendations. v1 is unaffected but only sized for half the traffic, and new instances take 45 s to boot.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.