Skip to main content
InterviewHubPRO
Section Overview
Q26

Question 26 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

52%
SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is Tail Latency Amplification in microservice architectures?

senior LevelSystem DesignMicroservices

In Simple Words: In a microservice tree where serving one user request requires fanning out to 100 backend services in parallel:

  • If each service has a 99th percentile (p99) latency of 1 second (1% chance of slowness):
  • The probability that the user experiences a slow request is: $$1 - (0.99)^{100} \approx \mathbf{63.4%}!$$
  • Even though every individual microservice is 99% fast, over 63% of user requests will be painfully slow!
  • Mitigations: Hedged requests (send duplicate request to another replica if first takes > p95 time), speculative retries, and strict aggressive timeouts.