A method, system, device, and medium for synchronously scaling a queue
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI WANQI MINGDAO SOFTWARE CO LTD
- Filing Date
- 2023-01-04
- Publication Date
- 2026-06-05
AI Technical Summary
Existing technologies cannot effectively identify slow messages when the queue is blocked, resulting in continuous waiting. After scaling up, message execution is inaccurate and resources are wasted. It is impossible to guarantee that messages of the same business unit are executed one by one.
By marking business objects and pushing them to an independent expansion queue, dedicated consumption instances are used to handle synchronization logic, calculate unconsumed quantity and execution time, determine whether expansion is needed, and ensure that messages of the same business object are executed in chronological order.
It effectively reduces queue waiting time, minimizes resource waste, ensures message execution order, improves data accuracy, and reduces the risk of data inconsistency.
Smart Images

Figure CN116049312B_ABST