Standing On the Shoulders of Giants...
summary
Shopify embeds OpenResty with Nginx and LuaJIT to run Lua scripts at the edge, deployable in 10 second deploys, and uses a module called sorting hat with Zookeeper to shard requests across datacenters. That middleware handles flash-sale scale and layer‑7 DDoS, moves throttles and cache key logic out of apps, and forces deterministic configs, unit+integration tests, and staged canary deploys so edge failures don’t take down large traffic slices.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:47Typical Web Service
- 1:06Data Tier
- 1:18Compute Tier
- 1:29Edge Tier
- 6:27Sharding
- 7:21Sorting Hat
- 11:16Edge Cache
- 11:35Response to Nginx
- 13:26Response to Client
- 14:35Host State
- 15:20DC State
- 15:51Global State
related talks
39mScaling Shopify's Multi-Tenant Architecture across Multiple Datacenters
33mShopify in Multiple Datacenters
40mHow Shopify Scales Rails
04mKeynote: One Deploy Plane, Every Runtime: How Shopify Generalized Cloud Native Beyon...
17mHow We Deploy Shopify
21mTesting Rails at Scale
39mScaling R&D to thousands of people without dedicated QA
46mChatOps at Shopify: Inviting Bots in Our Day-to-Day Operations
