Java object cache server for databases
First Claim
1. A method of providing an object from a cache server to a requesting system, the method comprising the steps, implemented in a cache server, of:
- receiving a request from a requesting system, the request identifying an object;
responsive to said request, determining whether the identified object is stored in the cache server; and
if the identified object is stored in the cache server;
serializing the identified object into a byte stream to form a serialized object; and
sending the serialized object to the requesting system; and
if the identified object is not stored in the cache server instantiating the identified object;
serializing the instantiated Java object into a byte stream to form a serialized object; and
sending the serialized Java object to the requesting system; and
receiving an invalidation request from a requesting system to invalidate an object on the cache server and identifying an object to rebuild; and
rebuilding the identified object responsive to receiving the invalidation request.
1 Assignment
0 Petitions
Accused Products
Abstract
A cache server is provided in a network for storing Java objects for retrieval by one or multiple application servers. Application server(s) are configured to request an object from the cache server, rather than requesting the Java object directly from a database, so as to reduce processing load on the database and free up database resources. Responsive to a request for a Java object from an application server, e.g., in an HTTP request, the cache server determines if the object is stored in memory and if so, serializes the requested object and sends the serialized object to the requesting server, e.g., in an HTTP response. The requesting server then deserializes the Java object. If the object is not stored in memory, the cache server instantiates the object (typically by requesting the object from the database), serializes the instantiated object and sends it to the requesting server. Cache coherency methods are also provided.
18 Citations
26 Claims
-
1. A method of providing an object from a cache server to a requesting system, the method comprising the steps, implemented in a cache server, of:
-
receiving a request from a requesting system, the request identifying an object; responsive to said request, determining whether the identified object is stored in the cache server; and if the identified object is stored in the cache server; serializing the identified object into a byte stream to form a serialized object; and sending the serialized object to the requesting system; and if the identified object is not stored in the cache server instantiating the identified object; serializing the instantiated Java object into a byte stream to form a serialized object; and sending the serialized Java object to the requesting system; and receiving an invalidation request from a requesting system to invalidate an object on the cache server and identifying an object to rebuild; and rebuilding the identified object responsive to receiving the invalidation request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An object cache server communicably coupled to an object database and one or more requesting systems, the cache server comprising:
-
a processor; and a memory for storing objects, wherein the server is configured to; receive a request from a requesting system, said request identifying an object; determine whether the identified object is stored in the memory; and if the identified object is stored in memory; serialize the identified object into a byte stream to form a serialized object; and send the serialized object to the requesting system; and if the identified object is not stored in memory; instantiate the identified object; serialize the instantiated object into a byte stream to form a serialized object; and send the serialized object to the requesting system; and wherein the server is further configured to rebuild a object stored in the memory in response to an invalidation request from a system to invalidate an object on the server, said invalidation request identifying the object to be rebuilt. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A method of rebuilding an object in an object cache server, comprising the steps, implemented in the cache server, of:
-
receiving an invalidation request, said invalidation request to invalidate an object on the cache server and identifying a first object in the cache server to be rebuilt; rebuilding the first object; and maintaining an original copy of the first object in the cache server as the cache server is rebuilding the first object, such that the cache server is able to provide the original copy in response to a request for the first object as the first object is being rebuilt. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. A method of providing an object from a cache server to a requesting system, the cache server being communicably coupled to an object database and one or more requesting systems, the method comprising the steps, implemented in a cache server, of:
-
receiving a request from a requesting system, the request identifying an object; responsive to said request, determining whether the identified object is stored in the cache server; and if the identified object is stored in the cache server; sending the object to the requesting system; and if the identified object is not stored in the cache server; instantiating the identified object; and sending the instantiated object to the requesting system; and receiving an invalidation request from a requesting system to invalidate an object on the cache server and identifying an object to rebuild; and rebuilding the identified object responsive to receiving the invalidation request. - View Dependent Claims (26)
-
Specification