Grokking the System Design Interview, Volume II
Vote

0% completed

​

Step 6: Detailed Component Design

Sam is buying a $40 book from an online bookshop. The bookshop's server sends a charge to our platform, our Payment Service sends an authorization request to Sam's bank, and then nothing comes back. Sam may or may not have been charged, and the bookshop is waiting for an answer. That timeout raises the questions this lesson answers, one component at a time:

  1. How is Sam's request handled so that a retry never charges him twice? The Payment Service.
  2. Where is Sam's card number, and who can see it? The Card Vault.
  3. The bank did not answer. Did Sam pay? The Acquirer Gateway. 4

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content