Skip to content
Sharp

Reactive Streams · interview question

Why might you bound flatMap() concurrency when calling a downstream pricing service?

Multiple choiceHardchapter-19-curatedpremiumreactive-streamsfunctional-pipelines-flatmap
Choose one answer
Answer and explanation

Correct answer

B. To avoid flooding the downstream service with too many concurrent requests.

Why

Unbounded flatMap() fan-out can overwhelm databases or downstream HTTP services. Bounding concurrency is part of reliability because it limits how much parallel work the pipeline can create at once.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →