Queue message strategy management method and device, equipment and storage medium
The invention provides a message strategy management method and device for a queue, equipment and a storage medium, and the method comprises the steps: detecting the message cumulant in a buffer queue when receiving a new message of at least one original flow; when the message cumulant is higher tha...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
02.01.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a message strategy management method and device for a queue, equipment and a storage medium, and the method comprises the steps: detecting the message cumulant in a buffer queue when receiving a new message of at least one original flow; when the message cumulant is higher than a first waterline configured by a cache queue, executing a message discarding strategy, and discarding the new message; when the message cumulant is lower than a second waterline configured by a cache queue, executing a message enqueue strategy, and storing the new message into the cache queue; the first waterline is higher than the second waterline. According to the method, the message strategy of the cache queue is controlled by setting the double waterlines with different sizes in the cache queue, so that the flow distribution proportion of the plurality of original flows at the outlet port is effectively ensured, and the network service quality is improved.
本申请提供了一种队列的报文策略管理方法及装置、设备、存储介质,该方法包括:接收至少一条原始流的新报文时, |
---|---|
Bibliography: | Application Number: CN202311266414 |