nayaread
HomeFavouritesTopicsSources
HomeFavouritesTopicsSources
NayaRead links to original engineering blogs. All copyright belongs to the respective authors.
Shopify Engineering·Mar 2, 2018·6 min read46

A Pods Architecture To Allow Shopify To Scale - Shopify

In 2015, it was no longer possible to continue buying a larger database server for Shopify. We finally had no choice but to shard the database, which allowed us to horizontally scale our databases and continue our growth. However, what we gained in performance and scalability we lost in resilience. Throughout the Shopify codebase was code like this: Sharding.with_each_shard do some_action end If any of our shards went down, that entire action would be unavailable across the platform. We realized this would become a major problem as the number of shards continued to increase. In 2016 we sat down to reorganize Shopify’s runtime architecture.

DatabasesSystem Design
Read original on shopify.engineering

Score breakdown

  • Technical depth63
  • Practical value30
  • Originality100
  • Writing quality97
  • Source reputation0
  • Recency0
  • External engagement0
  • On-site engagement0

NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.

More like this

Shopify Engineering

Shard Balancing: Moving Shops Confidently with Zero-Downtime at Terabyte-scale - Shopify

Sep 24, 2021·15 min read
Shopify Engineering

Capturing Every Change From Shopify’s Sharded Monolith - Shopify

Mar 12, 2021·25 min read
Shopify Engineering

How to Reliably Scale Your Data Platform for High Volumes - Shopify

Dec 8, 2020·12 min read
Shopify Engineering

How Shopify Manages Petabyte Scale MySQL Backup and Restore - Shopify

Oct 1, 2019·8 min read