Invention Grant
- Patent Title: Method for coordinating updates to database and in-memory cache
- Patent Title (中): 协调数据库和内存缓存更新的方法
-
Application No.: US12128422Application Date: 2008-05-28
-
Publication No.: US08131698B2Publication Date: 2012-03-06
- Inventor: James M. Synge
- Applicant: James M. Synge
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Hamilton, Brook, Smith & Reynolds, P.C.
- Main IPC: G06F7/00
- IPC: G06F7/00

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.
Public/Granted literature
- US20090300286A1 METHOD FOR COORDINATING UPDATES TO DATABASE AND IN-MEMORY CACHE Public/Granted day:2009-12-03
Information query