InterviewLegend

Design an E-commerce System

Commonly asked
Alex Chen27 min readGuide updated

The newest Visa version came up in December 2025, in a Senior Software Engineer loop in Foster City. The interviewer shared an Excalidraw link and asked the candidate to design an e-commerce system and explain the thought process while drawing. No follow-ups were mentioned, so expect the interviewer to steer toward whichever part of your drawing looks thinnest. Two older rounds from 2024 show where the steering goes. A Staff round in Bengaluru framed the design around microservices and CQRS, asked about the saga pattern, asked about Kafka consumer rebalancing and threw in the observer pattern. A Senior Software Architect round in India the same year pushed on fault tolerance and data management.

An online store looks like a CRUD app until you count. Browsing is hundreds of reads for every purchase, and nobody minds if a product description is a few seconds stale. Checkout is the opposite. It touches stock, money and the order record in one flow, and a mistake there costs real money: a sold-out item sold twice, or a card charged for an order that never got created. The design keeps those two worlds apart.

The Visa angle
Visa's network carries the payment step of a huge number of online checkouts, so the interviewer probably knows that part well. Draw the payment call early, and say the card is usually authorized at checkout and captured when the order ships. Then spend your depth on stock and the saga, where an e-commerce answer usually stands or falls.

VisaPremium lesson · System design round

The Visa design, worked end to end.

  1. Requirements and scopeSystem design
  2. The API and data model
  3. The design, drawn out1 diagram
  4. 5 deep divesWith the tradeoffs
Get the Visa questions

$49 a year · all 107 companies · instant access

20,000+ candidate reports

Visa interview guide

Know what Visa asks before you walk in.

30 coding · 8 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Visa interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.