Skip to content
Sharp

Reactive Streams · interview question

When transitioning an e-commerce server from Spring MVC to WebFlux, what must be avoided to prevent server bottlenecks?

Multiple choiceHardchapter-19-curatedpremiumreactive-streamsblocking-the-event-loop
Choose one answer
Answer and explanation

Correct answer

A. Avoid using blocking libraries and operations.

Why

To prevent bottlenecks in a transition to WebFlux, it is essential to avoid blocking libraries and operations like traditional JDBC calls or Thread.sleep(). These can block the event loop, reducing server capacity and responsiveness.

Test yourself on Reactive Streams

A free test with instant, explained results. No account needed.

Start free test
All Reactive Streams questions →