Skip to main content

Microservice orchestration

Call multiple services concurrently, wait on channels/timers, expose Swap-style RPCs.

Why this shape

Long-running backend processes need durable waits, retries, and external interaction. This use case shows how Dex capabilities compose for that problem domain.

Deep dive

Orchestration starts several downstream calls, joins on success/failure via Channels and timers, and can expose RPCs to adjust in-flight work. The complexity that usually lives in glue services becomes explicit Step movements.

See archived microservice orchestration case study under docs/archive/ for narrative background (rewrite mentally with Flow/Step terms).

Code examples

# Browse examples/*/microservices* (Python tree under examples/python)