Slack
- Deep dive
- Databases & storage
- Distributed systems
- Scaling databases & storage
Scaling Datastores at Slack with Vitess
How Slack moved from active-active MySQL clusters to Vitess, which by late 2020 served 99% of its query load at 2.3 million queries per second at peak, and the design choices and migration problems along the way.
- The problem
- Slack’s active-active MySQL clusters were hard to scale for new features.
- What they did
- Slack migrated workloads to Vitess, a horizontal sharding system for MySQL, over three years.
- The result
- Vitess serves 99% of the query load at 2.3 million queries per second at peak.
Why read it A multi-year datastore migration under a real-time messaging product.