- Hands-On Reactive Programming in Spring 5
- Oleh Dokuka Igor Lozynskyi
- 124字
- 2021-07-23 16:36:26
Slow producer and fast consumer
Let's start with the simplest one. Suppose that we have a slow producer and very fast consumer. This situation may arise because of some lean assumptions from the producer's side about an unknown consumer.
On the one hand, such configurations are a particular business assumption. On the other hand, the actual runtime might be different, and the possibilities for the consumer may change dynamically. For example, we may always increase the number of producers by scaling them, thereby increasing the load onto the consumer.
To tackle such a problem, the essential thing that we need is the actual demand. Unfortunately, the pure push model can't give us such metrics, and therefore dynamically increasing the system's throughput is impossible.
推薦閱讀
- EJB 3.1從入門到精通
- 物聯(lián)網(wǎng)安全(原書第2版)
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2014年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- 面向云平臺(tái)的物聯(lián)網(wǎng)多源異構(gòu)信息融合方法
- 通信簡(jiǎn)史:從信鴿到6G+
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- Building RESTful Web services with Go
- Learning Windows 8 Game Development
- 局域網(wǎng)組成實(shí)踐
- 轉(zhuǎn)化:提升網(wǎng)站流量和轉(zhuǎn)化率的技巧
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 信息技術(shù)安全評(píng)估準(zhǔn)則:源流、方法與實(shí)踐
- Python Web Scraping Cookbook
- 物聯(lián)網(wǎng)導(dǎo)論
- 計(jì)算機(jī)網(wǎng)絡(luò)(項(xiàng)目教學(xué)版)