A telecom network-diagnosis orchestrator fans out to 8 sub-agents in parallel (one per system: radio network, core, billing, …) and waits for all of them before answering. Each sub-agent independently finishes within 30 s with probability 0.9. How often does the whole fan-out finish within 30 s, and what is the best design response?
Show the answer and explanation
Correct answer: C, About 43% (0.9⁸), because the slowest of the 8 sets the latency; give each sub-agent a deadline and let the orchestrator answer from partial results, flagging gaps.
Explanation Multi-Agent Systems
When an orchestrator waits for all of its sub-agents, the slowest one sets the latency. With independent sub-agents that each finish within 30 s with probability 0.9:
P(all 8 on time) = 0.9⁸ ≈ 0.43, so about 57% of requests exceed 30 s, even though each sub-agent looks fine on its own.
| Sub-agents | P(all within 30 s) |
|---|---|
| 1 | 90.0% |
| 2 | 81.0% |
| 4 | 65.6% |
| 8 | 43.0% |
| 16 | 18.5% |
To keep 90% for the whole fan-out, each sub-agent would need 0.9^(1/8) ≈ 98.7% on-time probability. A cheaper fix is to stop waiting for stragglers: give each sub-agent a deadline, let the orchestrator answer from the results that arrived, and state which systems are missing. With a 30 s deadline, at least 7 of the 8 results arrive about 81% of the time (0.9⁸ + 8 × 0.1 × 0.9⁷). Hedged requests (a backup call after a delay) and caching also shorten the tail.
Why the other numbers are wrong:
- 90% treats the fan-out like one sub-agent; parallelism removes the sum of latencies but not the maximum.
- 20% (1 − 8 × 0.1) is the union bound, a lower limit rather than the exact value; it would even go negative for 11 sub-agents. With 4 sub-agents the true rate is 65.6%, not 60%.
- ≈100% (1 − 0.1⁸) is the probability that at least one sub-agent finishes on time, which matters for redundant requests, not for waiting on all of them.
Interview tip: say "fan-out amplifies tail latency" and propose per-call deadlines plus graceful degradation.