Code AnalysisIntermediate 60s
Outbox pattern race condition
Analyze this flow:
BEGIN
UPDATE orders SET status='PAID'
INSERT INTO outbox(id,payload)
COMMIT
relay: poll outbox -> publish -> mark sent
What breaks if the relay publishes but crashes before marking sent?
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.