Vibe Engines
YouTube

Vibe Engines is free, interactive AI engineering & system design — runs in your browser. Pick a learning path

Handbooks  /  Orchestration vs Choreography
Engineering~9 min readComparison
Head to Head

Orchestration vs choreography: a conductor, or a dance?

OrchestrationvsChoreography

Once a business process spans several services, someone has to make them work together. You can appoint a conductor that tells each service when to play, or you can let the services react to each other like dancers who each know their own steps. Both get the job done — they just put the control, and the confusion, in different places.

01

The one distinction that decides everything

Orchestration puts one component — an orchestrator (often a workflow engine) — explicitly in charge: it calls service A, waits, calls service B, handles the error if B fails, and drives the whole process from a single place that knows the flow. Choreography has no central controller: each service emits events ("OrderPlaced," "PaymentTaken") and other services subscribe and react on their own. The logic of "what happens next" isn’t written down in one place — it emerges from who reacts to which event.

→ The rule

Orchestration centralizes control: one brain, explicit flow, easy to see and change, but a coupling point. Choreography distributes control: services stay loosely coupled and autonomous, but the overall process exists only implicitly, spread across everyone’s event subscriptions.

02

Head to head

DimensionOrchestrationChoreography
ControlCentral — one coordinator drives itDistributed — services react to events
CouplingServices coupled to the orchestratorLoosely coupled via events
Where the flow livesExplicit, in one placeImplicit, across subscriptions
Visibility / tracingEasy — one place shows the whole flowHard — trace events across services
Failure handlingCoordinator handles compensationEach service must handle its own
Adding a stepEdit the workflowAdd a subscriber — no central edit
Failure modeOrchestrator is a bottleneck / SPOFEmergent behavior nobody fully sees
03

When to use each

Reach for orchestration

  • Complex, multi-step workflows with clear ordering
  • You need one place to see and reason about the whole flow
  • Compensation/rollback logic must be coordinated (sagas)
  • Business processes that change and need to be edited centrally
  • Strong observability and auditability are required

Reach for choreography

  • You want services maximally decoupled and independently deployable
  • Reactions are simple and mostly one-hop
  • New consumers should be able to join without touching producers
  • High-throughput, event-driven fan-out
  • No single team should own the end-to-end flow
04

The answer is usually "orchestrate the transaction, choreograph the notifications"

You don’t have to choose one for the whole system. A common, healthy split: orchestrate the parts that need a guaranteed outcome — a checkout that must take payment, reserve inventory and create a shipment, with compensation if any step fails (this is the classic saga pattern, and an orchestrated saga keeps the rollback logic in one legible place). Then choreograph the loosely-coupled reactions around it — "OrderShipped" fires an event, and the emails service, analytics service and loyalty service each react independently, no coordinator needed and no reason to couple them to the checkout flow.

→ The cheap default

Start choreographed for simple event reactions — it keeps services decoupled with almost no machinery. Introduce an orchestrator when a process has real multi-step ordering and failure-compensation that becomes impossible to reason about when it’s scattered across event handlers.

05

The visibility-versus-coupling trade nobody escapes

Orchestration’s great gift is visibility: the entire process is written in one workflow, so you can see it, trace it, and change it in a single place — and the orchestrator can own retries and compensation coherently. Its cost is coupling: every service now depends on the orchestrator, which becomes a place changes funnel through and a potential bottleneck or single point of failure.

Choreography inverts both. Services stay beautifully decoupled — you can add a new reaction by subscribing to an existing event, touching nothing that already runs. But the end-to-end process becomes emergent: it exists only as the sum of everyone’s subscriptions, so answering "what happens when an order is placed?" means chasing events across a dozen services, and a subtle bug (two services reacting to the same event, or a missing subscriber) can be genuinely hard to see. Decoupling and legibility pull in opposite directions; you’re choosing which one to spend.

→ The trade you’re actually making

Orchestration trades looser coupling for a single, legible, controllable flow. Choreography trades that central visibility for autonomy and easy extensibility. Neither removes the coordination — it just decides who holds it.

06

A worked scenario: order fulfillment

An order must take payment, reserve inventory, and create a shipment — and if inventory reservation fails after payment, the payment has to be refunded. That’s a transaction with real ordering and compensation, so an orchestrated saga fits: a workflow engine calls each step, and if a later step fails it runs the compensating actions (refund, release) from one place you can actually read and audit. Scattering that rollback logic across event handlers is how money quietly goes missing.

Once the order is confirmed and shipped, though, a swarm of things should happen that don’t need coordination: send a confirmation email, update analytics, award loyalty points, notify the warehouse dashboard. Here choreography shines — "OrderShipped" is published, and each of those services reacts independently. Adding a "text the customer" feature later means one new subscriber, with zero changes to the fulfillment workflow. Orchestrate the money-critical core; choreograph the reactions around it.

→ The pattern generalizes

Guaranteed, ordered, compensatable processes → orchestrate (saga). Loosely-coupled, fan-out reactions → choreograph. Big systems use both, drawing the line at "does this need a coordinated outcome?"

The picture

The picture: one conductor, or a shared event bus

Orchestration Orchestrator Payment Inventory Shipping 123 if 3 fails: refund, release the flow lives in one place Choreography Order Payment Inventory event bus Shipping Email Loyalty the flow is the sum of the subscriptions
On the left, the order of the steps and the rule for undoing them are written in one component. You can read the process by reading the orchestrator. On the right, every service only knows which events it emits and which it listens to. Adding Loyalty touched nothing else, which is the point. But to answer “what happens after an order is placed?” you have to collect every subscription across every team’s code. Same services, same work; the difference is where the knowledge of the sequence is kept. Notice also which arrows point which way: the orchestrator depends on every service it calls, while on the right each service depends only on the bus and the shape of the events it reads. That is the coupling trade from section 05, drawn.
Trade-offs

Cost and trade-offs: latency, state and change

For a process rather than an algorithm, read Time as latency or effort, and Space as what each style must store or couple. The numbers count messages in the page’s three-step order flow: payment, then inventory, then shipping.

CaseTimeSpaceWhy
Happy path, 3 stepsOrchestrated: 6 messages, a command and a reply per step. Choreographed: 4 events (OrderPlaced, PaymentTaken, StockReserved, ShipmentCreated)Orchestrator keeps one durable state record per order; each choreographed service keeps only its own stepThe extra hop per step costs a little latency. It buys one place that knows where every order is.
Step 3 failsOrchestrator runs refund and release, in reverse orderAll compensation logic in one workflowChoreographed, a ShipmentFailed event must reach Inventory and Payment, and each must know how to undo its own step.
Add a reaction (text the customer)Orchestrated: edit and redeploy the workflow. Choreographed: deploy one new subscriberThe orchestrator grows one step per reactionWhere choreography wins outright, as the page’s fan-out case shows.
“Where is order 123?”Orchestrated: one lookup in the workflow state. Choreographed: follow a correlation id through traces and logsChoreography needs that tracing in place before the incidentWith no single owner, a stuck order is noticed by a customer before a dashboard.
Orchestrator goes downNew and in-flight orders pause until it recoversIts persisted state lets it resume each saga where it stoppedA durable workflow engine stops progress, not data. One that keeps state in memory loses both.
Change a running processOrchestrated: version the workflow; orders in flight finish on the old versionTwo definitions live side by side for a whileChoreographed, an event schema change must stay compatible for every subscriber, including ones you do not know about.
Fan-out to 4 unrelated teamsOrchestrated: 4 calls the orchestrator must make, time out and retry. Choreographed: 1 publishThe broker keeps one copy of the event; each consumer tracks its own positionA slow analytics service delays nothing when it reads from the bus; called by an orchestrator, it can hold up the step that calls it.
A wait measured in days (delivery confirmed)Orchestrated: a durable timer in the workflow, which engines such as Temporal and AWS Step Functions persistOne sleeping workflow instance per orderChoreographed, someone has to build the clock: a scheduled job or a delayed message, owned by one of the services.
Testing the whole flowOrchestrated: test the workflow definition with the services stubbedOne artefact holds the sequenceChoreographed, only end-to-end or contract tests across services ever see the full sequence run.

Neither style is cheaper overall. Orchestration pays a fixed cost up front: a component to run, a state store, an extra hop per step. In return, failure handling and visibility stay simple as the process grows. Choreography is nearly free to start, but its cost grows with the number of services in the flow, because every new participant is another place where the sequence lives and another subscriber an event change can break. A useful line: once a flow has a step that must be undone if a later one fails, the fixed cost of an orchestrator is usually smaller than the cost of scattering that undo logic.

Watch for

Common mistakes

  • Writing to the database, then publishing

    A service saves the order and then publishes OrderPlaced. If it crashes between the two, the order exists and nobody downstream ever hears of it; publish first and crash, and they hear of an order that does not exist. Use a transactional outbox: write the event to an outbox table in the same transaction as the data, and let a relay (or change data capture such as Debezium) publish it. This bites both styles, but choreography depends on it entirely.

  • Assuming each event arrives once, in order

    Brokers deliver at least once, so PaymentTaken can arrive twice and charge loyalty points twice. Events from different producers can also arrive out of order: StockReserved before OrderPlaced has been processed. Make every handler idempotent with an event id it records, and make it tolerate an event for an entity it has not seen yet, by parking it or retrying later.

  • Treating compensation as rollback

    A refund is a new action, not an undo. It can fail and needs its own retries, and some steps cannot be undone at all: a sent email, a shipped parcel. Order the saga so the steps that cannot be compensated come last, after every step that might still fail. A compensating step that is not idempotent can refund twice.

  • An orchestrator that does the business logic

    The orchestrator should decide what happens next, not compute prices, check stock rules or format emails. Once domain logic moves into it, every service team has to change the orchestrator to change their own behaviour, which is the coupling the page warns about at its worst. Keep it to sequencing, timeouts, retries and compensation, and keep its state durable, so a restart resumes sagas instead of losing them.

  • No owner for a choreographed flow’s deadline

    If Inventory’s consumer dies, no event says “nothing happened”. The order just sits in “paid” forever, and no service is responsible for noticing. Give every multi-step choreographed flow a timeout someone owns, such as a watchdog that finds orders stuck in one state past a deadline. Also check for cycles: two services that react to each other’s events can loop without either team seeing the whole circle.

Your call

Which would you pick?

Three situations. Pick the side you'd actually build — the explanation follows.

Checkout must reserve stock, charge the card, then create a shipment — and if the charge fails, the stock reservation has to be released.

When an order ships, four unrelated teams want to react: email the customer, update analytics, notify the warehouse dashboard, refresh a recommendation model.

A team argues their choreographed order flow is "more decoupled, so strictly better."

Frequently asked

Quick answers

What's the difference between orchestration and choreography?

Orchestration puts one central coordinator in charge of a multi-service process — it calls each service in turn and handles failures from a single place that knows the flow. Choreography has no central controller: services emit events and others react on their own, so the overall process emerges from who subscribes to what. Orchestration centralizes control and visibility; choreography maximizes loose coupling and autonomy.

Which is better for microservices?

Neither universally — they trade differently. Orchestration gives you one legible, controllable, auditable flow at the cost of coupling every service to the coordinator. Choreography keeps services decoupled and independently deployable at the cost of an emergent process that is harder to trace. Many systems orchestrate the transactional core and choreograph the loosely-coupled reactions around it.

What is the saga pattern?

A way to manage a transaction that spans multiple services without a distributed lock: the process runs as a sequence of local steps, and if a later step fails, compensating actions undo the earlier ones (refund a payment, release a reservation). Sagas can be orchestrated (a coordinator drives the steps and compensation) or choreographed (services react to each other’s events).

When should I add an orchestrator?

When a process has real multi-step ordering and failure-compensation that becomes hard to reason about scattered across event handlers — for example a checkout that must coordinate payment, inventory and shipping with rollback. For simple, one-hop event reactions, choreography is lighter and keeps services decoupled, so you do not need an orchestrator.

▶  Watch it explained

Orchestration vs Choreography: a conductor, or a dance?

Orchestration vs Choreography · Vibe Engines · 2026
Finished this one? 0 / 209 Handbooks done
NextMonolith vs Microservices Next on the “Moving data between services” ladder · rung 6 of 6

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.

More Handbooks