Skip to content

Concurrency Patterns

AYNIG provides mutual exclusion per branch. Concurrency patterns are implemented at the workflow level.

Examples (conceptual):

  • Fan-out: create N branches each with its own dwp-state
  • Fan-in: a coordinator branch waits for results and merges or references outputs

Use correlation trailers (e.g. dwp-correlation-id) to relate work across branches.