A method, system, device, and medium for synchronously scaling a queue

CN116049312BActive Publication Date: 2026-06-05SHANGHAI WANQI MINGDAO SOFTWARE CO LTD

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

Technical Problem

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.

Method used

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.

Benefits of technology

It effectively reduces queue waiting time, minimizes resource waste, ensures message execution order, improves data accuracy, and reduces the risk of data inconsistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116049312B_ABST
    Figure CN116049312B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, system, device and medium for synchronously expanding a queue, the method comprising the following steps: original data updating; judging whether a service object in the original data is marked, if yes, pushing the service object in the service unit to an independent expansion queue, if no, adding the service object in the service unit to a normal queue; judging whether the normal queue needs to be expanded, if yes, marking a service message and pushing the marked service message to the independent expansion queue. The present disclosure can be used to judge the slow message in the queue when the queue is blocked and quickly consume the slow message; can identify the execution time of the accumulated message, reasonably expand the queue, and avoid resource waste.
Need to check novelty before this filing date? Find Prior Art