
Shopify Counts on YugabyteDB for its AI-Ready Global Commerce Infrastructure

At a Glance


Company Background
Shopify is one of the world’s leading commerce platforms, enabling millions of merchants to build, scale, and operate their businesses across 175+ countries. The Shopify platform has reached extraordinary scale, serving 1 billion unique online buyers and handling 20 million queries per second across its relational database infrastructure.
Operating globally with traffic served from every continent except Antarctica, Shopify manages over 1,500 relational tables in a moderately normalized model that supports the complex requirements of modern commerce: from inventory management and order processing, to payment reconciliation and merchant analytics.
This global footprint and transaction volume demand a database infrastructure that can deliver local performance and global consistency while maintaining the relational guarantees that commerce applications depend on.
As Shopify continues to expand its merchant base and geographic reach, the limitations of its legacy sharded architecture have become apparent, driving the need for a modern, distributed SQL solution that can scale without sacrificing the relational model or operational simplicity.

The Challenges
Key Database Requirements
Shopify needed a globally distributed database that could replace custom sharding while maintaining its relational model at commerce scale. Their requirements included:
YugabyteDB Solutions




Business Results
Huge deployment of YugabyteDB clusters, self-operated globally with full control and customization
160 nodes deployed with 7,000 CPU cores supporting globally distributed commerce operations
200,000 QPS production traffic successfully migrated from the legacy sharded MySQL infrastructure
1.4 PB raw storage managed across a globally stretched cluster between the US and EU regions
Single global namespace achieved, eliminating application-level sharding complexity for migrated use cases
Zero single points of failure with a Raft consensus-based architecture, ensuring continuous availability
Continental and regional tablespaces are operational, providing flexible geo-partitioning for data sovereignty
PostgreSQL compatibility enables seamless migration with limited application model changes
Building for Future Workloads Today
Shopify’s migration to YugabyteDB represents a fundamental transformation in how one of the world’s largest commerce platforms approaches database infrastructure.
By replacing tens of thousands of custom-sharded MySQL nodes with a globally distributed SQL architecture, Shopify eliminates operational complexity while building toward a truly global platform that aligns with its commerce ambitions.
The initial deployment demonstrates YugabyteDB’s capability to handle extreme scale, including 160 nodes, 7,000 cores, 200,000 QPS, and 1.4 PB of storage. The Shopify engineering team continues to find and migrate additional use cases.
Key technical learnings around hash and range indexing strategies and latency expectation alignment are informing best practices as more workloads transition to the platform.
To fully realize their vision, Shopify is working toward additional capabilities, including:
- 20x cluster scalability to handle the complete migration of their 20 million QPS workload across all 1,500+ relational tables
- CPU scalability separation, decoupling compute scale from storage scale to optimize resource utilization for diurnal traffic patterns
- Non-voting read replicas in additional regions for low-latency global read access without impacting write quorum performance
- At-scale data analytics integration connecting distributed SQL infrastructure seamlessly with Shopify’s analytics systems
By choosing YugabyteDB’s distributed SQL architecture, Shopify has established the foundation for:
- Simplified operations, replacing tens of thousands of manually managed nodes with a globally distributed infrastructure
- Developer velocity as they eliminate non-transactional sharding workarounds and restore native relational capabilities
- Global consistency with multi-regional quorum writes, ensuring ACID guarantees across continents
- Data sovereignty through flexible geo-partitioning to meet the compliance requirements in 175+ countries
- Elastic scalability that supports growth from millions to billions of transactions without architectural constraints
- Operational control with an open source core and self-operation capabilities that match Shopify’s infrastructure sophistication
Discover how Shopify is navigating the move from large-scale MySQL deployments to distributed SQL, and what that shift means for engineers building systems at extreme scale in this recent customer presentation replay.
