Shopify High-Level Design (HLD) Interview Questions
Pod-isolated flash checkouts, merchant clearing ledgers & webhook dispatch. Practice each prompt in HLDArena's 60-second discrete-event simulator with p99 latency, availability, and cloud cost gates.
- Pod/cell bulkhead isolation so celebrity flash drops never impact calm shops
- Atomic cart inventory holds, coupon validation & idempotent checkout state machines
- Multi-currency merchant payouts, CDC outbox relays & high-fanout webhooks
| Status | Code | Question | Difficulty | Max Pts |
|---|---|---|---|---|
| — | HLD-328 | Multi-Tenant Merchant Checkout, Cart Hold & Drop Isolation Design a Shopify-scale multi-tenant e-commerce checkout platform where a celebrity sneaker/cosmetics drop on one storefront generates 150k RPS without degrading checkout latency for 100,000 calm independent merchants sharing the platform. | Hard | 1500 pts |
| — | HLD-329 | Multi-Currency Merchant Clearing, Rolling Reserve & Payout Engine Design a Stripe Connect / Adyen-style merchant clearing and T+2 payout settlement engine that aggregates millions of captured charges, refunds, FX conversions, and chargeback rolling reserves into balanced daily ACH/SEPA payout batches. | Hard | 1500 pts |
| — | HLD-301 | Flash-Sale Concert Ticket Checkout Design a high-contention seat reservation and checkout backend for stadium concert drops. Thousands of buyers compete simultaneously for the exact same event inventory. | Hard | 1500 pts |
| — | HLD-210 | E-Commerce Persistent Shopping Cart Backend Design a low-latency shopping cart service persisting item additions, quantity updates, and promo codes across mobile and web sessions without stale checkout totals. | Medium | 1000 pts |
| — | HLD-232 | Multi-Warehouse Retail Inventory & Delivery Promise API Design an Amazon-style product page availability ("In Stock — Arrives Tomorrow") service aggregating SKU stock across regional fulfillment centers. | Medium | 1000 pts |
| — | HLD-127 | E-Commerce Promo Code & Eligibility Rule Validator Design a checkout promo-code eligibility service validating campaign rules, minimum cart thresholds, and merchant promo metadata during seasonal sales. | Easy | 500 pts |
| — | HLD-104 | Webhook & Transactional Notification Dispatcher Design an event-driven notification and webhook ingestion pipeline that buffers sudden merchant traffic bursts and tracks delivery state without losing events. | Easy | 500 pts |
| — | HLD-243 | Change Data Capture (CDC) & Transactional Outbox Relay Design a Debezium-style WAL log tailing and transactional outbox relay pipeline that captures committed database row mutations in strict per-key order and delivers schema-validated events to downstream consumers. | Medium | 1000 pts |
| — | HLD-319 | Global Card Payment Authorization & Idempotent Retry Engine Design Stripe’s `Idempotency-Key` payment intent state machine ensuring client network retries NEVER double-charge a card even under database failover. | Hard | 1500 pts |
| — | HLD-101 | Distributed API Rate Limiter & Quota Gateway Design a low-latency ingress rate-limiting tier enforcing per-tenant sliding-window and token-bucket quotas across stateless API gateways without adding tail latency. | Easy | 500 pts |
| — | HLD-419 | Planet-Scale Edge CDN Surrogate-Key Purge & Origin Shield Mesh Design a Fastly / Akamai-scale global cache invalidation and tiered Origin Shield control plane capable of purging surrogate cache-tags across 300+ edge POPs in < 150 ms while collapsing post-purge cold-miss herds so customer origins never melt down. | Expert | 2000 pts |