Can you provide an example of how events are used to coordinate services in a Choreography model?

In the Choreography model, services coordinate a business process by publishing and reacting to events, with no central controller directing the workflow.

Key Points

Example

In an e-commerce checkout, the Order Service publishes an "Order Created" event; the Payment Service listens and processes payment, publishing "Payment Processed" once done; the Shipping Service listens for that event and begins shipping — each service reacting only to the event it cares about.

Interview Tip

A concise interview answer is

A good example is checkout in an e-commerce app: Order Service publishes 'Order Created', Payment Service reacts and publishes 'Payment Processed', and Shipping Service reacts to that in turn. Each service only knows about the events it consumes and produces, not about the other services directly, which is what makes choreography loosely coupled.

Last updated: 16 July 2026

Previous question: What are the pros and cons of using an event-driven architecture (Choreography) in microservices?

Next question: What is the Orchestration pattern, and how does it differ from the Choreography pattern?

More Microservices Design Patterns interview questions

All Microservices Design Patterns questions