Skip to content
Sharp

Reactive Streams · interview question

In a reactive application using WebFlux, what is the primary advantage of using non-blocking database drivers like R2DBC?

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

Correct answer

B. They prevent blocking the event loop.

Why

Non-blocking database drivers, like R2DBC, prevent the event loop from being blocked by I/O operations, allowing the server to handle more concurrent requests efficiently.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →