Anatomy of Response Time and Tail Latency Amplification

Anatomy of Response Time and Tail Latency Amplification A sequence diagram generated by Archify. GET /home response time is what the client measures call: network 2ms call: network 2ms call: network 2ms queue 2ms + service 25ms queue 180ms + service 40ms head-of-line blocking in the queue queue 5ms + service 20ms 200 OK in 230ms the slowest call dominates the whole request Fan-out to backends Rejoin at the slowest End User · sees response time · Sequence participant End User sees response time Frontend API · one user request · Sequence participant Frontend API one user request Recommendation · fast service · Sequence participant Recommendation fast service Timeline Svc · slow service · Sequence participant Timeline Svc slow service Ads Svc · fast service · Sequence participant Ads Svc fast service Legend main request return message