- Hands-On Reactive Programming in Spring 5
- Oleh Dokuka Igor Lozynskyi
- 211字
- 2021-07-23 16:36:27
Bounded drop queue
Alternatively, to avoid a memory overflow, we may employ a queue that may ignore incoming messages if it is full. The following marble diagram depicts a queue that has a size of 2 elements and is characterized by dropping elements on overflow (Diagram 3.5):
In general, this technique respects the resources' limitations and makes it possible to configure the capacity of the queue based on the resources' capacities. In turn, embracing this kind of queue is a common practice when the importance of the message is low. An example of a business case may be a stream of dataset-changed events. In turn, each event triggers some statistical recalculation which uses the entire dataset aggregation and takes a significant amount of time in comparison with the incoming events quantity. In that case, the only important thing is the fact that the data set changed; it is not vital to known which data has been affected.
- Web安全防護(hù)指南:基礎(chǔ)篇
- Building E-commerce Sites with VirtueMart Cookbook
- 智能網(wǎng)聯(lián)汽車V2X與智能網(wǎng)聯(lián)設(shè)施I2X
- 新一代物聯(lián)網(wǎng)架構(gòu)技術(shù):分層算力網(wǎng)絡(luò)
- 計(jì)算機(jī)網(wǎng)絡(luò)安全實(shí)訓(xùn)教程(第二版)
- 正在爆發(fā)的互聯(lián)網(wǎng)革命
- 企業(yè)私有云建設(shè)指南
- Metasploit Penetration Testing Cookbook
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- 光纖通信系統(tǒng)與網(wǎng)絡(luò)(修訂版)
- 網(wǎng)絡(luò)AI+:2030后的未來網(wǎng)絡(luò)
- 高級(jí)網(wǎng)絡(luò)技術(shù)
- 移動(dòng)物聯(lián)網(wǎng):商業(yè)模式+案例分析+應(yīng)用實(shí)戰(zhàn)
- 組網(wǎng)技術(shù)與網(wǎng)絡(luò)管理
- 物聯(lián)網(wǎng),So Easy!