Method and system for an atomically updated, central cache memory
AssigneeMicrosoft Corporation
InventorsDavid Brown, Mikhail Leonov, Michael Byrd
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsDavid Brown, Mikhail Leonov, Michael Byrd
Estimating the term…
Disclosed is a central cache that is updated without the overhead of locking. Updates are “atomic” in that they cannot be interrupted part way through. Applications are always free to read data in the cache, accessing the data through a reference table. Applications do not directly update the cache, instead, they send update requests to a service routine. To update the cache, the service routine proceeds in two phases. In the first phase, the service routine prepares the new data and adds them to the cache, without updating the reference table. During the first phase, an application accessing the cache cannot “see” the new data because the reference table has not yet been updated. After the first phase is complete, the service routine performs the second phase of the update process: atomically updating the reference table. The two-phase update process leaves the cache, at all times, in a consistent state.
A computer-readable medium containing instructions for performing a method for a cache service routine distinct from an application program to attempt to add data of interest to a central cache, the method comprising:
A computer-readable medium containing instructions for performing a method for an application program to attempt to access data of interest, the method comprising:
A computer-readable medium having stored thereon a data structure for a cache, the cache data structure comprising:
A system for storing data in, and for accessing data stored in, a central cache, the system comprising:
Dependencies are inferred from the claim text.