All jobs / Solutions / cloud architect / Application Architecture
Solutions / cloud architect interview question · 3–5 years
For a saga across several services — choreography through events, or an orchestrator?
The strongest answer
An orchestrator when the flow has many steps, branches or compensations and you need one place to see state and handle failure; choreography when there are few steps and loose coupling matters more than visibility
Why it works
Exactly — the choice follows flow complexity and how badly you need to see and control state.
What a good answer covers
- Complexity decides the style.
- Orchestrator: visibility, compensation.
- Choreography: few steps, loose coupling.
- Watch for hidden event coupling.
Answers that fall short
- Close, but not the strongest: Choreography always — an orchestrator is a central point of failure and coupling
Choreographed flows hide coupling in event chains and are hard to reason about once they branch. - Weak: Orchestration always — event chains make flows impossible to follow
Short flows are fine as events; an orchestrator for two steps is ceremony. - Red flag: Neither; use a distributed transaction so the services commit together
Distributed transactions across services are exactly what sagas exist to avoid.
Who gets asked this
More Application Architecture questions
- The platform team wants a service mesh. How do you decide whether it is worth it?
- When is a serverless function the right choice, and when does it turn into a trap?
- A new product with a team of four: monolith or microservices to start?
- When would you choose a REST call over publishing an event, and when the reverse?
- What does designing an API “contract-first” mean, and why do teams do it?
- What does an API gateway do for you, and what should you resist putting in it?
- A client retries a “create payment” request after a timeout. How does the design stop a double charge?
- How do you version a public API so you can change it without breaking customers?