Slack: Return-to-Work Monday
Hard · system design problem
The first Monday after the holidays: logins ramp from 8:50, everyone is back at 9:00, instances take three minutes to provision and the transit network starts dropping packets.
Inspired by Slack’s outage on the first working day of 2021, when the post-holiday surge outran the cloud network’s transit gateways (packet loss between services) and Slack’s own provisioning could not launch instances fast enough. Here: clients keep a WebSocket to the gateway (300,000 connections per instance), which calls the API (autoscaling on CPU) on MySQL. Everything was scaled in over the holidays. At T+20s people start logging in (×1.5); at T+200s everyone is back (×3 for the day) and the transit network between gateway and API starts losing 8% of packets. New instances — gateway and API — take three minutes to provision. The run is graded on the whole morning.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.