Peek and lock using queue partitioning
Abstract
A queue management system may store a queue of messages in a main queue. When a message is processed by an application, the message may be moved to a subqueue. In the subqueue, the message may be locked from other applications. After processing the message, the application may delete the message from the subqueue and complete the action required. If the application fails to respond in a timely manner, the message may be moved from the subqueue to the main queue and released for another application to service the message. If the application responds after the time out period, a fault may occur when the application attempts to delete the message from the subqueue. Such an arrangement allows a “peek and lock” functionality to be implemented using a subqueue.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
At a computer system, the computer system including a first queue, a second queue, and a timeout queue, the second queue physically partitioned as a subqueue of the first queue, a method for using peek lock for message processing, the method comprising: receiving a message; storing said message in said first queue; identifying said message for processing by an application; locking said message by: physically moving said message from said first queue to said second queue; and modifying at least one metadata value relating to said message to indicate that said message is locked; subsequent to lo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (3)
- "Multi-programming Environment", Hewlett-Packard Development Company, L.P., pp. 2, Feb. 2008.
- "Unified Queuing System and BPS", Scientific Computing Division FY1998 Annual Scientific Report, pp. 4.
- Narlikar, et al., "Pthreads for Dynamic and Irregular Parallelism", in Proceedings of "Supercomputing 98: High Performance Networking and Computing", Nov. 1998, pp. 21.