Shopify
Shopify logoShopify · Feature trail

S3 Partitioning and Request Rate Management

1 post · Feb 2018

What this trail covers

Shopify has evolved its approach to managing cloud storage usage, specifically Amazon S3, to address increasing error rates and latencies caused by rapid merchant growth. Initial efforts focused on understanding the impact of S3's internal partitioning mechanism on request rates and rate limits. The core problem identified was that a spike in activity from a single shop could trigger a 'SlowDown' exception for an entire partition, affecting multiple shops. To mitigate this, Shopify implemented a solution by adding hash-generated digests to new shops' asset operations, distributing writes across many partitions and significantly reducing SlowDown events and latencies.

All Shopify trails