Vitess
Vitess is a battle-hardened open source technology invented at YouTube for deploying, scaling and managing large clusters of database instances. It now powers some of the largest sites on the Internet.
Vitess is the cloud-native, open source technology powering PlanetScale.
Horizontal scale
Transparent horizontal sharding allows for an unlimited number of database shards without adding complexity to your application.
High availability
Vitess’s primary replica configuration allows for seamless failover from a primary to a replica when unexpected events occur.
MySQL compatibility
Migrate your existing MySQL applications with minimal changes while leveraging your MySQL expertise to achieve massive scale.
Online scheme migrations
`pt-online-schema-change`
and `gh-ost`
makes it easy to track, control, or cancel schema migrations within a simple interface.Built-in connection pooling
Multiplex front-end application queries onto a pool of MySQL connections to optimize performance.
Kubernetes-native
Developed at YouTube to run on Borg, the inspiration for Kubernetes, Vitess is ideally suited for running databases in Kubernetes.
- Enabled ‘near unlimited scale’ for Cash App
- Only 5% of the system had to be changed to implement Vitess
- 10 shard splits a week with less than 1 second of downtime
- ~500,000 queries per second at peak times
- ~20 billion total queries per day
- Added connection latency with Vitess is only around 1 millisecond on average
- Upgrades went from days to 2 hours
- Downtime now lasts seconds instead of minutes
- Doubled production load and number of databases with same team size
Want to save time and money running Vitess?
Every PlanetScale database runs Vitess under the hood. Let us hold the pager, manage Vitess upgrades, set up sharding for you, and more.