Buffered message queue architecture for database management systems with guaranteed at least once delivery
Abstract
A buffered message queue architecture for managing messages in a database management system is disclosed. A “buffered message queue” refers to a message queue implemented in a volatile memory, such as a RAM. The volatile memory may be a shared volatile memory that is accessible by a plurality of processes. The buffered message queue architecture supports a publish and subscribe communication mechanism, where the message producers and message consumers may be decoupled from and independent of each other. The buffered message queue architecture provides all the functionality of a persistent publish-subscriber messaging system, without ever having to store the messages in persistent storage. The buffered message queue architecture provides better performance and scalability since no persistent operations are needed and no UNDO/REDO logs need to be maintained. Messages published to the buffered message queue are delivered to all eligible subscribers at least once, even in the event of failures, as long as the application is “repeatable.” The buffered message queue architecture also includes management mechanisms for performing buffered message queue cleanup and also for providing unlim
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for managing messages in a database system, the method comprising the computer-implemented step of in response to a first message in a message queue created in a volatile memory of the database system being provided to all subscriber processes for which the first message satisfies the corresponding subscription data, generating a checkpoint value that indicates that the first message does not need to be restored to the message queue after a failure that causes the loss of the first message from the message queue; and storing the checkpoint value on a non-volatile storage.
- Claim 2Depends on #1
The method as recited in claim 1 , further comprising the computer-implemented step of after a failure that causes the loss of the first message from the message queue, retrieving the checkpoint value from the non-volatile storage, and providing the checkpoint value to a publisher p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (4)
- Current Claims in PCT application, International Application No. PCT/US03/23747, 14 pages.
- International Searching Authority, "Notification of Transmittal of the International Search Report or the Declaration," dated May 25, 2004, 6 pages.
- Kei Kurakawa et al., "Life Cycle Design Support Based on Environmental Information Sharing," IEEE, Feb. 1-3, 1999, Proceedings EcoDesign '99, First International Symposium, pp. 138-142.
- Oliver Gunther, et al., "MMM: A Web-Based System for Sharing Statistical Computing Modules," IEEE, May-Jun. 1997, vol. 1, Issue 3, pp. 59-68.