上QQ阅读APP看书,第一时间看更新
Back pressures and Reactive Streams
Back pressure is a mechanism that authorizes the receiver to define how much data it wants from the emitter (data provider). The main objective of Reactive Streams is all about handling back pressure. It allows:
- The control to go to the receiver, to get data after it is ready to be processed
- Defining and controlling the amount of data to be received
- Efficient handling of the slow emitter / fast receiver or fast emitter / slow receiver scenarios