Method for coordinating updates to database and in-memory cache
Abstract
A computer method and system of caching. In a multi-threaded application, different threads execute respective transactions accessing a data store (e.g. database) from a single server. The method and system represent status of datastore transactions using respective certain (e.g. Future) parameters. Results of the said transactions are cached based on transaction status as represented by the certain parameters and on data store determination of a subject transaction. The caching employs a two stage commit and effectively forms a two level cache. One levels maps from datastore keys to entries in the cache. Each entry stores a respective last known commit value. The second level provides an optional mapping from a respective transaction as represented by the corresponding certain parameter to an updated value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product for caching results of database transactions, the computer program product comprising: a tangible computer readable storage medium having computer usable program code embodied therewith, the computer usable program code comprising: computer usable code configured to implement database transactions accessing a database from a single server; and computer useable code configured to implement a cache having a two stage commit and two levels, the two levels effectively (i) recording transition from performing a subject database transaction to committing said transaction,
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)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,348,861 B2 | Capturing change data of deferred updates | 2016 | 1 |
| US 2015074062 A1 | Capturing change data of deferred updates | — | 7 |
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- "Java Caching System," retrieved from the World Wide Web on May 28, 2008 at http://jakarta.apache.org/jcs/.
- "ObjectGrid Programming Model Guide," retrieved from the World Wide Web on May 28, 2008 at http://www-1.ibm.com/support/docview.wss?uid=swg27006432.
- "Oracle Coherence," retrieved from the World Wide Web on May 28, 2008 at http://www.oracle.com/technology/products/coherence/index.html.
- "Welcome to ehcache," retrieved from the World Wide Web on May 28, 2008 at http://ehcache.sourceforge.net/.