Skip to content
Sharp

Reactive Streams · interview question

How does WebFlux differ from Virtual Threads in terms of handling blocking I/O operations?

Multiple choiceEasychapter-19-curatedpremiumreactive-streamswebflux-vs-virtual-threads
Choose one answer
Answer and explanation

Correct answer

B. WebFlux is non-blocking, while Virtual Threads can manage blocking operations with lightweight threads.

Why

WebFlux operates on a non-blocking event loop model, whereas Virtual Threads allow blocking operations to be executed more efficiently by using lightweight threads that don't tie up system resources.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →