System and method for flushing bean cache
Abstract
Servers in a network cluster can each store a copy of a data item in local cache, providing read access to these copies through read-only entity beans. The original data item in the database can be updated through a read/write entity bean one of the cluster servers. That cluster server has access to an invalidation target, which contains identification information relating to copies of the data item stored on servers in the cluster. Once the read/write bean updates the data item in the database, an invalidate request can be sent or multicast to all cluster members, or to any read-only bean or server contained in the invalidation target. Each server or read-only bean receiving the request knows to drop any copy of the data item in local cache, and can request a current copy of the data item from the database.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 24.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for updating a cached copy of a data item in a database, comprising: storing a copy of a data item on a server, the data item being stored in a database; generating a read-only bean to provide read access to the copy and storing identification information relating to the read-only bean; generating a read/write bean to provide read and write access to the data item in the database and updating the data item using the read/write bean; and sending an invalidate request to the read-only bean using the identification information so the copy of the data item can be deleted.
- Claim 2Depends on #1
A method according to claim 1 , wherein: storing a copy of a data item stores the copy in cache on a first server.
- Claim 3Depends on #2
A method according to claim 2 , wherein: generating a read-only bean generates the read-only bean on the first server; and genera
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗