Interview practice question
Blocking call in a reactive pipeline
Backend Engineering · Concurrency · Intermediate
Your Spring WebFlux service has terrible latency under load. You find a JDBC call inside a reactive handler. Why is this a problem?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Blocking call on event-loop thread.
- Few event loop threads blocked → everything stalls.
- Use reactive driver (R2DBC).
- Or offload to boundedElastic scheduler.
- Or switch to virtual threads.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.