Message ordering in a messaging system
Abstract
A messaging handling system implements the well-known Two-Phase Commit protocol (comprising prepare and commit operations) to store messages related to transactions in a repository, but enforces message ordering. The commit operation is divided into two phases: a commit phase and a release phase. Prepare requests are implemented conventionally. Commit requests are implemented by immediately executing the commit phase of the operation, but delaying release of the message for reading from the repository until all prepare requests received prior to an instant request have released. In this manner, message ordering is preserved, while allowing use of conventional two-phase commit protocol processing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for message handling in a messaging system, comprising: receiving, from application programs, messages associated with transactions and placing the received messages in a repository for subsequent retrieval; receiving requests of prepare and commit for the transactions; processing each prepare request as it is received; processing each commit request as a two-phase operation comprising a commit phase and a release phase, wherein the commit phase is processed as soon as it is received and the release phase is processed only when the release phase processing is complete for all transact
- Claim 2Depends on #1
The method of claim 1 wherein release phase processing comprises making messages associated with transactions available for reading from the repository.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗