Skip to content
Sharp

Reactive Streams · interview question

When transitioning from Spring MVC to WebFlux, what is a key consideration regarding existing blocking database calls?

Multiple choiceHardchapter-19-curatedpremiumreactive-streamsnon-blocking-i-o-event-loops
Choose one answer
Answer and explanation

Correct answer

B. They must be rewritten to be non-blocking

Why

Blocking database calls should be rewritten to be non-blocking to prevent them from blocking the event loop. This allows the system to maintain its non-blocking nature and efficiently handle multiple requests.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →