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

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.

主站蜘蛛池模板: 淮南市| 韶关市| 邮箱| 苏尼特右旗| 深圳市| 成都市| 汝阳县| 平利县| 利津县| 无锡市| 长寿区| 寻甸| 封丘县| 岳池县| 灵石县| 旅游| 枞阳县| 长岛县| 太湖县| 宕昌县| 平顶山市| 怀安县| 石景山区| 嵩明县| 鄂伦春自治旗| 溧水县| 荆门市| 南陵县| 化隆| 云安县| 舞钢市| 肃宁县| 清水河县| 双柏县| 常德市| 靖西县| 平陆县| 任丘市| 巩义市| 杭锦旗| 津南区|