Skip to content
javaguru
All engineering blogs

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.

Database & StorageScalabilityInfrastructure
Read Original Article Opens on shopify.engineering. The full article stays with its publisher.

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

All engineering blogs
Canva

The foundations of Canva’s continuous data platform with Snowpipe Streaming

How Canva streams data into Snowflake continuously from Kinesis — one Snowpipe client per shard, checkpointing, and buffer tuning that trades latency for cost.

Database & StorageInfrastructureScalability
Shopify

Deconstructing the Monolith: designing software that maximizes developer productivity

Why Shopify chose a modular monolith over microservices, and how enforced boundaries inside one codebase let a thousand developers keep shipping.

Software ArchitectureScalabilityBackend Engineering
11 min read
Shopify

A Pods Architecture To Allow Shopify To Scale

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.

Software ArchitectureScalabilityReliability
3 min read