Code RoomJava service thread pool blocked
HardPrep Room Coding #2674

Java service thread pool blocked

On-callConcurrencyReliability & on-callSenior–Staff~28 min

Your Java service runs fine for weeks, then over ~20 minutes goes unresponsive: latency climbs to timeouts, the request thread pool is fully exhausted, but CPU sits at only 25% and memory is normal. Thread dumps show nearly all worker threads BLOCKED inside calls to a downstream recommendation API that recently got slow (its p99 went from 50ms to 8s after their deploy). No autoscaling event helped — new instances exhaust their thread pools the same way. How do you triage and mitigate?

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

0:00 of about 28 min
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.