Grokking DevOps and SRE Interviews
Vote

0% completed

​

Drill: A Slow Server That Is Not Busy

How can a server with idle CPUs and free memory take 5 seconds longer to answer every request?

The question sounds like a contradiction only if you assume that a slow request must be busy. A request can also wait: for a lock, for a disk, for a remote service, or for a reply that never comes. Waiting uses no CPU, so top shows a quiet server.

This drill traces such a wait to its source. It answers how to find what a request waits for when no resource looks busy.

The Question

"Since this morning, requests to our reporting API take about 5.2 seconds instead of 0.2 seconds

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content