Interview practice question
Choosing sync vs async for an order flow
System Design · APIs and Communication · Experienced
In an order flow involving payment, inventory, shipping, email and analytics services, which interactions should be synchronous and which asynchronous?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Sync: payment authorisation, inventory reservation (user waits).
- Async: shipping, email, analytics.
- Events for downstream reactions.
- Saga for multi-step consistency.
- Timeouts and fallbacks on sync calls.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.