Database RAM cache
Abstract
A system and method are provided for providing a shared RAM cache of a database, accessible by multiple processes. By sharing a single cache rather than local copies of the database, memory is saved and synchronization of data accessed by different processes is assured. Synchronization between the database and the shared cache is assured by using a unidirectional notification mechanism between the database and the shared cache. Client APIs within the processes search the data within the shared cache directly, rather than by making a request to a database server. Therefore server load is not affected by the number of requesting applications and data fetch time is not affected by Inter-Process Communication delay or by additional context switching. A new synchronization scheme allows multiple processes to be used in building and maintaining the cache, greatly reducing start up time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of providing a plurality of processes with access to data stored in a cache, comprising: copying the data from a database to the cache in a shared memory, the shared memory being directly accessible by each process of the plurality of processes without using a database server; maintaining synchronicity between the database and the cache, wherein any alteration of the database triggers creation of a message comprising a table identifier (ID) of a table within the database, a row ID, and an action flag, wherein the action flag signifies one of addition, deletion, and update in the datab
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- "Architected for Real-Time Data Management 1-5- TimesTen's Core In-Memory Database Technology" [Online], Oct. 8, 2003, pp. 1-13.
- Barrett et al., A Framework for Event-Based Software Integration, ACM Transactions on Software Engineering and Methodology, vol. 5, No. 4, Oct. 1996, pp. 378-421.
- Bornhovd C. et al: Adaptive Database Caching with DBCache IEEE Data Eng. Bull., [Online], vol. 27, No. 2, Jun. 2004, pp. 1-8.
- C. Mohan, Caching Technologies for Web Applications, XP-002242550, pp. 1-31, Sep. 9, 2001.
- David Chappell, Understanding BizTalk Server 2004, BizTalk Server 2004 Technical Article, Feb. 2004, XP-007902439, pp. 4-33.