官术网_书友最值得收藏!

Subscriber backpressure

A subscriber can control events in its queue to avoid any overruns. It can also request more events if there is additional capacity. Backpressure enforces the publisher to bound the event queues according to the subscriber. Furthermore, a subscriber can ask to receive one element at a time, building a stop-and-wait protocol. It can also ask for multiple elements. On the other hand, a publisher can apply the appropriate buffers to hold non-delivered events, or it can just start to drop events if the production rate is more than the consumption rate.

It is important to note that the Reactive Streams API is aimed at the flow of events between different systems. Unlike ReactiveX, it does not provide any operators to perform transformations. The API has been adopted as a part of the java.util.concurrent.Flow package in JDK 9.

主站蜘蛛池模板: 三门县| 凤山县| 韩城市| 越西县| 绥德县| 南城县| 渝北区| 新竹市| 囊谦县| 化德县| 辽阳县| 肃宁县| 敖汉旗| 南汇区| 清水河县| 和顺县| 南皮县| 高邑县| 金沙县| 康马县| 铜山县| 韶山市| 裕民县| 蚌埠市| 炉霍县| 广灵县| 商城县| 福海县| 棋牌| 汝州市| 桃源县| 梅河口市| 阳东县| 杭锦旗| 游戏| 泾源县| 福海县| 汉阴县| 乐亭县| 视频| 阿克陶县|