- 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 Application Development with R Using Shiny
- 農產品物聯網研究與應用
- 面向云平臺的物聯網多源異構信息融合方法
- Microsoft Dynamics CRM 2011 Applications(MB2-868) Certification Guide
- 互聯網+思維與創新:通往未來的+號
- 高級網絡技術
- Hands-On Bitcoin Programming with Python
- 網絡安全之道
- React Design Patterns and Best Practices(Second Edition)
- 路由與交換技術
- 企業網絡組建與維護項目式教程
- CiviCRM Cookbook
- 物聯網與智能制造
- 5G時代:生活方式和商業模式的大變革