Engineering Decisions · Middle · Question 11 of 14

Checkout's p99 latency doubled. A request passes through six services, and logs don't show which one is slow. What do you reach for?

Show the answer

Correct answer: Distributed tracing across the request's path

Explanation

A trace shows one request's time in every service, so the slow step is visible at once. More logs fit a failure inside one known service, but matching them across six needs a shared ID and much more work. Host dashboards fit resource problems, while a slow query or a lock can hide behind perfectly normal CPU.

Further reading

Problem with a question

Engineering Decisions · Middle · question 11

Test yourself

Take the Engineering Decisions · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz