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

The flow control problem

On the one hand, the preceding explanation may have taught us that the central reason to embrace the PUSH model was the optimization of the overall processing time by decreasing the amount of asking to the very minimum. That is why the RxJava 1.x and similar libraries were designed for pushing data, and that is why streaming became a valuable technique for communication between components within a distributed system.

On the other hand, in combination with only the PUSH model, that technique has its limitations. As we might remember from Chapter 1Why Reactive Spring?, the nature of message-driven communication assumes that as a response to the request, the service may receive an asynchronous, potentially infinite stream of messages. That is the tricky part because if a producer disrespects the consumer's throughput possibility it may affect the overall system stability in ways described in the following two sections.

主站蜘蛛池模板: 剑河县| 江都市| 仪陇县| 扶余县| 革吉县| 安化县| 鸡泽县| 沂南县| 胶州市| 奉节县| 丹阳市| 海晏县| 思南县| 固原市| 谷城县| 广河县| 翁牛特旗| 永福县| 榆树市| 武乡县| 宁乡县| 剑阁县| 英超| 麦盖提县| 甘谷县| 彭泽县| 江孜县| 锡林郭勒盟| 卫辉市| 顺义区| 北安市| 辽宁省| 武强县| SHOW| 泾源县| 许昌县| 清苑县| 疏附县| 灌阳县| 东光县| 乌兰县|