Interview practice question
Making independent calls in parallel
Backend Engineering · Concurrency · Beginner
An endpoint calls three independent services one after another, each taking 200 ms. How can you make it faster?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Calls are independent → run concurrently.
- Total ≈ slowest call, not sum.
- Promise.all / asyncio.gather / CompletableFuture.
- Handle partial failures and timeouts.
- Limit concurrency if many calls.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.