Skip to content
Sharp

Reactive Streams · interview question

In a non-blocking architecture using Reactive Streams, what happens when a Subscriber requests more data than the Publisher can handle?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamspublisher-and-subscriber
Choose one answer
Answer and explanation

Correct answer

D. The Publisher will manage backpressure and send data as it becomes available

Why

The Publisher in a Reactive Streams setup is responsible for managing backpressure and will send data to the Subscriber as it becomes available, allowing the system to handle varying rates of data production and consumption without crashing or blocking.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →