High availability via data services
Abstract
Application-level replication, the synchronization of data updates within a cluster of application servers, may be provided by having application servers themselves synchronize all updates to multiple redundant databases, precluding the need for database-level replication. This may be accomplished by first sending a set of database modifications requested by the transaction to a first database. Then a message may be placed in one or more message queues, the message indicating the objects inserted, updated, or deleted in the transaction. Then a commit command may be sent to the first database. The set of database modifications and a commit command may then be sent to a second database. This allows for transparent synchronization of the databases and quick recovery from a database failure, while imposing little performance or network overhead.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for failover from a failure of an application server during a transaction, the method comprising: determining, using one or more processors, whether a message has been in a message queue for a predefined period of time; discarding the message when a transaction ID for the message is not included in a transaction ID table in a first database and the message has been in the message queue for a predefined period of time; replaying a set of database modifications to a second database when a transaction ID for the message is included in the transaction ID table in the first database but no
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗