System and method for database cache synchronization across multiple interpreted code engines
AssigneeIntel Corporation
InventorBlake A. Thompson
Life of this patent
Estimating the term…
Abstract
A method for synchronizing data sharing across multiple interpreted code engines is described. The method includes comparing a database timestamp with a first cache timestamp responsive to an attempt to access the first cache. Then, the method disallows access to the first cache if the database timestamp is not equal to the first cache timestamp. Finally, the method reloads the first cache with data from the database; and sets the first cache timestamp to equal the database timestamp.
Claims35
A method for synchronizing data sharing across multiple instances of an interpreted code engine comprising:
- comparing a data timestamp with a first cache timestamp responsive to an attempt to access a first cache;
- allowing access to said first cache only if said data timestamp is equal to said first cache timestamp;
- and
- disallowing access to said first cache if said data timestamp is not equal to said first cache timestamp.
A system comprising:
- a data repository having a data timestamp associated therewith;
- and
- a first interpreted code engine having a first cache with a timestamp, said first interpreted code engine to
- compare said data timestamp with said first cache timestamp responsive to an attempt to access said first cache,
- allow access to said first cache only if said data timestamp is equal to said first cache timestamp, and
- disallow access to said first cache if said first cache timestamp is not equal to said data timestamp.
An article of manufacture including a sequence of instructions which, when executed by a processor, causes said processor to:
- compare a data timestamp with a first cache timestamp responsive to an attempt to access a first cache;
- allow access to said first cache only if said data timestamp is equal to said first cache timestamp;
- and
- disallow access to said first cache if said data timestamp is not equal to said first cache timestamp.
A system comprising:
- a processor;
- a data repository accessible by a plurality of interpretive code engines;
- and
- a first of the plurality of interpretive code engines to convert between native instructions executable by the processor and processor-neutral code interpretable by a first application, the first interpretive code engine to maintain a cache to store a copy of data contained within the data repository, the first interpretive code engine to perform a lookup operation in the data repository to determine whether the data stored within the cache is current prior to allowing the first application to access the data in the cache.
A method comprising:
- receiving a request by an application to access data within a cache at an interpreted code engine, the cache having a first timestamp associated therewith;
- retrieving a second timestamp associated with data within a data repository;
- comparing the first timestamp with the second timestamp prior to allowing access to the cache;
- allowing access to the data within the cache only if the first timestamp matches the second timestamp;
- and
- disallowing access to the data within the cache if the first timestamp does not match the second timestamp.
Dependencies are inferred from the claim text.