advancedPayments & Ledger Systems97 of 132
What happens if Account A is debited but Account B's credit fails?
Tests whether you treat the transfer as a saga with a compensating debit-reversal step on failure, rather than assuming a two-phase commit across independently-owned account services is feasible.
Ready to design this system end to end?
Generate a complete, structured system design answer — requirements, capacity estimation, API design, architecture, database choice, scaling, caching, fault tolerance, security, trade-offs, and more, walked through the way a strong senior engineer would in a real interview.
Sign in to generate a response