Preserving Outputs and Events Across a Retried Workflow

A workflow that restarts may repeat internal work. Define which external state changes and notifications should appear once under the user's intent.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace an interrupted publication
  2. Check difficult intermediate states

Trace an interrupted publication

A first attempt saves an article and loses the response. A second can return the known result while a recorded event supports indexing. See request identity.

Check difficult intermediate states

Test after the write and before confirmation. Outbox delivery connects durable state with later effect delivery.[1]

References

  1. David L. Parnas, On the Criteria to Be Used in Decomposing Systems into Modules, CMU-CS-71-101 ↩