Skip to content
Sharp

Reactive Streams · interview question

In the context of Reactive Streams, what is the primary advantage of using a non-blocking event loop over a thread-per-request model?

Multiple choiceEasychapter-19-curatedpremiumreactive-streamsthread-per-request-bottleneck
Choose one answer
Answer and explanation

Correct answer

A. Reduces the number of threads needed, enhancing scalability

Why

A non-blocking event loop can handle many requests with fewer threads by not waiting for I/O operations to complete, enhancing scalability and reducing resource consumption.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →