Spring / Spring Webflux Interview questions
What is Backpressure and how does it relate to Flux?
Backpressure is a mechanism where a Subscriber tells a Publisher how much data it can handle. In a Flux, if a source is producing 10,000 items/sec but the DB can only save 100/sec, backpressure (using strategies like buffer, drop, or latest) prevents the system from running out of memory.
More Related questions...