SpinTheMic
Pro

Interview practice question

Investigating high CPU in production safely

Backend Engineering · Production Debugging · Intermediate

Your service suddenly uses 90 percent CPU in production, but you cannot reproduce it elsewhere. How do you investigate without making things worse?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Low-overhead sampling profiler on one instance.
  • Thread dumps/top -H for hot threads.
  • Correlate with traffic and changes.
  • Look for loops, regex, GC.
  • Mitigate: scale out, rollback.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics