PlanetScale

Learn Horizontal Scaling on PlanetScaleDB with Vitess — Rate Puppies in a Rust app with Sharded MySQL Database

Aug 14, 2020Jiten Vaidya
Learn Horizontal Scaling on PlanetScaleDB with Vitess — Rate Puppies in a Rust app with Sharded MySQL Database
SummaryAI, from the source post

This post explains the core concepts of Vitess sharding, including VSchema, Vindex, and Vitess Sequences, using a practical example of a dog rating application. It details how VSchema defines data organization across shards, how Vindexes map rows to shards, and how Vitess Sequences generate unique, monotonically increasing IDs across shards. The post also provides example schemas and VSchemas for both sharded and lookup keyspaces.

More from the Vitess-based MySQL replacement trail