Workflow choreography and orchestration

To Nha Notes | April 19, 2023, 9:56 p.m.

There are two patterns we can use to bring components together to manage workflows, as illustrated in the following diagram:

  • Choreography: The components each individually know about the work they must do, and which step comes next
  • Orchestration: The components know very little about their role and are called on to do their part by a centralized orchestrator