摘要:
A method to store objects in a memory cache is disclosed. A request is received from an application to store an object in a memory cache associated with the application. The object is stored in a cache region of the memory cache based on an identification that the object has no potential for storage in a shared memory cache and a determination that the cache region is associated with a storage policy that specifies that objects to be stored in the cache region are to be stored in a local memory cache and that a garbage collector is not to remove objects stored in the cache region from the local memory cache.
摘要:
Methods for a treatment of cached objects are described. In one embodiment, an object, associated with an object key, is stored in a first local memory cache associated with a first virtual machine within a first computing system. The object is also stored in a serialized format to a database. The object key is serialized after receiving a notification of successful storage of the object in the database. The serialized key is then sent over a network to a second computing system.
摘要:
A method to store objects in a memory cache is disclosed. A request is received from an application to store an object in a memory cache associated with the application. The object is stored in a cache region of the memory cache based on an identification that the object has no potential for storage in a shared memory cache and a determination that the cache region is associated with a storage policy that specifies that objects to be stored in the cache region are to be stored in a local memory cache and that a garbage collector is not to remove objects stored in the cache region from the local memory cache.
摘要:
A method is described that involves entering a notification of a request into a queue that supplies request notifications to a first worker node amongst a plurality of worker nodes. The first worker node is targeted to process the request. In response to the first worker node failing before the notification could be serviced from the first queue, the notification is moved from the first queue to a second queue that supplies request notifications to a second worker node amongst the plurality of worker nodes. After servicing the notification from the second queue, the request is transferred to the second worker node. A response to the request is then generated with the second worker node.
摘要:
A method to associate a storage policy with a cache region is disclosed. In this method, a cache region associated with an application is created. The application runs on virtual machines, and where a first virtual machine has a local memory cache that is private to the first virtual machine. The first virtual machine additionally has a shared memory cache that is shared by the first virtual machine and a second virtual machine. Additionally, the cache region is associated with a storage policy. Here, the storage policy specifies that a first copy of an object to be stored in the cache region is to be stored in the local memory cache and that a second copy of the object to be stored in the cache region is to be stored in the shared memory cache.
摘要:
A connection manager includes a dispatcher that dispatches requests to worker nodes in an application server. The connection manager receives client requests and dispatches the requests on different channels multiplexed over the same session to worker nodes coupled by a request/response shared memory to the connection manager.
摘要:
A method is described that involves entering a notification of a request into a queue that supplies request notifications to a first worker node amongst a plurality of worker nodes. The first worker node is targeted to process the request. In response to the first worker node failing before the notification could be serviced from the first queue, the notification is moved from the first queue to a second queue that supplies request notifications to a second worker node amongst the plurality of worker nodes. After servicing the notification from the second queue, the request is transferred to the second worker node. A response to the request is then generated with the second worker node.
摘要:
Methods for a treatment of cached objects are described. In one embodiment, an application is configured to cache objects according to different caching treatments, each different caching treatment associated with its own region of cache. The configuring also involves installing a different combination of storage and eviction policy plug-ins for each different region of cache, with each of the storage plug-ins including code to perform get and put operations, and each of the eviction policy plug-ins including code to perform cache eviction operations.