Skip to content
Sharp

Reactive Streams · interview question

Which of the following is a valid approach to handle backpressure in Project Reactor?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamsbackpressure-strategies
Choose one answer
Answer and explanation

Correct answer

B. OnBackpressureLatest

Why

onBackpressureLatest is used to drop the oldest items in favor of the latest items when backpressure is applied, helping to manage flow in real-time applications.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →