Design Inventory Sync for Thousands of Drop-Ship Suppliers

Last updated: November 29, 2026

Quick Overview

Design the system that ingests inventory and lead-time updates from tens of thousands of suppliers (via API, EDI and nightly CSV feeds), keeps an availability view for over 30 million SKUs, and stops Wayfair from selling items suppliers cannot ship.

Wayfair
System Design
Software Engineer
Wayfair
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that ingests inventory and lead-time updates from tens of thousands of suppliers (via API, EDI and nightly CSV feeds), keeps an availability view for over 30 million SKUs, and stops Wayfair from selling items suppliers cannot ship.

Because Wayfair mostly does not hold the stock it sells, supplier inventory accuracy directly drives cancellations and customer trust. This hard design round probes heterogeneous ingestion, ordering and idempotency of updates, reservations against stale counts, and how you score supplier data quality.

What the Interviewer Expects
  • Normalises API, EDI and file feeds into one event stream
  • Handles out-of-order and duplicate updates with versions or timestamps
  • Separates supplier-reported quantity from Wayfair reservations
  • Publishes availability to search and product pages with bounded staleness
  • Uses supplier reliability to buffer or hide stock
Key Topics to Cover
event ingestion
Kafka
idempotency
reservations
data quality
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A supplier sends a full snapshot that is 18 hours old after a stream of fresher deltas. What do you do?
  • How do you reserve stock at checkout when the supplier only updates once a day?
  • How would you detect a supplier whose feed silently stopped?
  • How would CastleGate warehouse stock, which Wayfair controls, fit into the same model?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Ingest updates of (supplier, sku, qty, lead_days, as_of) from REST API pushes, EDI 846 documents and CSV uploads to Partner Home. Scale: about 30M SKUs, peak tens of thousands of updates per second ...

High-Level Design
  1. Adapters per channel (API gateway, EDI translator, file loader) parse into a canonical InventoryUpdate with as_of and a source sequence.
  2. Kafka topic keyed by (supplier, sku) so upd...

Submit Your Answer
Markdown supported

Related Questions