All lessons in Cloud Engineering: Deploy, Operate, and Recover

Event Delivery and Replay

Locate the uncertainty between committing an effect and acknowledging delivery.

70 minutes · Members lesson · preview

What you will learn

  • Locate the uncertainty between committing an effect and acknowledging delivery.
  • Demonstrate atomic deduplication with a real local transaction.
  • Design replay, poison-message, and ordering policies for an update pipeline.

Northstar's future worker processes an update, commits the new state, and loses its connection before acknowledging the message. The broker cannot infer whether the business effect happened. Decide what the worker should do when the same event returns.

In the Investigate phase, add replay evidence to your architecture dossier. The exercise uses actual SQLite transactions in memory and deliberately repeats deliveries. It teaches a local atomicity boundary; it does not run a cloud broker or prove a distributed exactly-once guarantee.

Choose another lesson