Shopify
Horizontally scaling the Rails backend of Shop app with Vitess
A detailed account of putting Vitess in front of a Rails/MySQL backend so Shop app could scale horizontally without a rewrite.
Shopify
A detailed account of putting Vitess in front of a Rails/MySQL backend so Shop app could scale horizontally without a rewrite.
Why it's worth reading
The unglamorous half of scaling: connection management, query routing and a migration path for an application that assumes a single database.
Related reading
How Canva streams data into Snowflake continuously from Kinesis — one Snowpipe client per shard, checkpointing, and buffer tuning that trades latency for cost.
Why Shopify chose a modular monolith over microservices, and how enforced boundaries inside one codebase let a thousand developers keep shipping.
How sharding Shopify's database exposed a resilience problem, and why the fix was reorganising the runtime into isolated pods rather than adding more shards.