Lab · 01 of 4

Event pipeline

01 · Event pipeline

At-least-once, exactly-once effect.

A live event pipeline. Send events, replay duplicates, or inject a poison message and watch it retry with backoff before it parks in the dead-letter queue instead of corrupting the ledger.

01 · SendApplied once
WebhookQueueConsumerLedger✓ written onceAn event flows from the webhook through the queue and is written to the ledger.
02 · ReplayDuplicate dropped
evt_7f1a sent twiceWebhookConsumerLedger✓ applied×already seenThe consumer remembers every event ID, so a replayed copy is dropped before it touches the ledger.
03 · PoisonRetry, then park
ConsumerHandlertry 1+1s+2sDEAD-LETTER×××A message that keeps failing is retried with growing delays, then parked in the dead-letter queue for review.
Three customers are shopping. Every dollar spent earns one point.
Aldric the AlchemistAldricAlchemist0 pts
Wren the ScribeWrenScribe0 pts
Bram the BlacksmithBramBlacksmith0 pts
Webhookat-least-once
Queuebuffered
Consumerdedupe · retry
Ledgersource of truth
Dead-letterempty
Sent0
Applied0
Deduped0
Parked0
Ledger · latestNo rows yet. Send an event.