Durable Execution — Payment Workflow Replay

Durable Execution — Payment Workflow Replay A sequence diagram generated by Archify. start payment workflow activity: check fraud not fraudulent append step result activity: debit card charged append step result activity: deposit funds worker crashes mid-step re-execute workflow replay recorded steps deposit funds (only missing step) deposited payment complete, exactly once First execution Crash recovery and replay Checkout · workflow trigger · Sequence participant Checkout workflow trigger Workflow Engine · workflow runtime · Sequence participant Workflow Engine workflow runtime Durable Log · write-ahead log · Sequence participant Durable Log write-ahead log Fraud Check · internal service · Sequence participant Fraud Check internal service Card Network · third-party API · Sequence participant Card Network third-party API Bank Service · third-party API · Sequence participant Bank Service third-party API Legend main request return async trace message