Code AnalysisBeginner 60s
Transactional Outbox Pattern for Payments
Pseudo-code:
def pay(order):
ledger.post(order)
db.commit()
queue.publish('paid', order.id)
What is the failure mode this ordering creates and the fix?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.