Node.js · Senior · Question 10 of 75

p99 latency is high but average CPU usage is low. What might be the cause?

Explanation

Measure event loop delay with monitorEventLoopDelay. Short CPU spikes don't show up in average CPU but stall all concurrent requests.

Further reading

Problem with a question

Node.js · Senior · question 10

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz