US2008097997A1PendingUtilityA1
System and method for optimistic caching
Est. expiryJan 18, 2022(expired)· nominal 20-yr term from priority
Y10S707/99938Y10S707/99952G06F 12/0815
38
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
Transactions are granted concurrent access to a data item through the use of an optimistic concurrency algorithm. Each transaction gets its own instance of the data item, such as in a cache or in an entity bean, such that it is not necessary to lock the data. The instances can come from the data or from other instances. When a transaction updates the data item, the optimistic concurrency algorithm ensures that the other instances are notified that the data item has been changed and that it is necessary to read a new instance, from the database or from an updated instance.
Claims
exact text as granted — not AI-modified1 . A computer implemented system for concurrently caching instances of a data item, comprising:
a database capable of storing a data item; a plurality of cluster nodes capable of executing a transaction using the data item; a cache for cluster nodes executing a transaction, the cache capable of storing an instance of the data item; and an optimistic caching algorithm running concurrently on multiple cluster nodes, the algorithm capable of directing the clusters node to notify other cluster nodes when updating the data item in the database.
2 . The computer implemented system according to claim 1 , wherein:
the cluster nodes are further capable of checking the data item in the database before updating the data item.
3 . The computer implemented system according to claim 1 , wherein:
the instances of data items are stored as enterprise beans at the caches.
4 . The computer implemented system according to claim 3 , wherein:
the instances of data items are stored as enterprise java beans at the caches.
5 . The computer implemented system according to claim 4 , wherein:
the enterprise java beans load themselves from the database.
6 . The computer implemented system according to claim 4 , wherein:
the enterprise java beans store themselves in the database.
7 . The computer implemented system according to claim 1 , wherein:
the currency of the data is checked when a transaction commits.
8 . A computer implemented system for concurrently caching instances of a data item, comprising:
a plurality of nodes capable of executing a transaction wherein the transaction is adapted to use an instance of a data item derived from a data item stored in a database; at least one cache associated with the plurality of nodes being capable of storing the instance of a data item; and an optimistic caching algorithm running concurrently on at least some of the plurality of nodes, the optimistic caching algorithm capable of directing nodes to notify other nodes when updating the data item in the database.
9 . The system of claim 8 , further comprising:
a plurality of caches, wherein each cache is associated with one of the plurality of nodes.
10 . The system of claim 8 , wherein:
the instances of data items in the plurality of caches can be updated from at least one of the data item stored in the database and the instance of the data item associated with another of said plurality of caches.
11 . The computer implemented system according to claim 8 , wherein:
the cluster nodes are further capable of checking the data item in the database before updating the data item.
12 . The computer implemented system according to claim 8 , wherein:
the instances of data items are stored as enterprise beans at the caches.
13 . The computer implemented system according to claim 12 , wherein:
the instances of data items are stored as enterprise java beans at the caches.
14 . The computer implemented system according to claim 13 , wherein:
the enterprise java beans load themselves from the database.
15 . The computer implemented system according to claim 13 , wherein:
the enterprise java beans store themselves in the database.
16 . The computer implemented system according to claim 8 , wherein:
the currency of the data is checked when a transaction commits.
17 . A computer implemented system for concurrently caching instances of a data item, comprising:
a plurality of nodes capable of executing a transaction wherein the transaction is adapted to use an instance of a data item derived from a data item stored in a database; at least one cache associated with the plurality of nodes being capable of storing the instance of a data item; and an optimistic caching algorithm running concurrently on at least some of the plurality of nodes, the optimistic caching algorithm capable of directing nodes to notify other nodes when updating the data item in the database, data items are stored as enterprise beans at the at least one cache.
18 . The computer implemented system according to claim 17 , wherein:
the instances of data items are stored as enterprise java beans at the caches.
19 . The computer implemented system according to claim 18 , wherein:
the enterprise java beans load themselves from the database.
20 . The computer implemented system according to claim 18 , wherein:
the enterprise java beans store themselves in the database.Join the waitlist — get patent alerts
Track US2008097997A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.