CACHE REGION CONCEPT
First Claim
1. A system comprising:
- a cache manager to;
create a first cache region associated with an application, the application running on a plurality of virtual machines, a first one of the plurality of virtual machines having a local memory cache that is private to the first one of the plurality of virtual machines and a shared memory cache that is shared by the first one of the plurality of virtual machines and a second one of the plurality of virtual machines; and
associate the first cache region with a first storage policy, the first storage policy specifying an object to be stored in the first cache region is to be stored in the local memory cache and that a garbage collector is not to remove the object from the local memory cache.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
134 Citations
20 Claims
-
1. A system comprising:
a cache manager to; create a first cache region associated with an application, the application running on a plurality of virtual machines, a first one of the plurality of virtual machines having a local memory cache that is private to the first one of the plurality of virtual machines and a shared memory cache that is shared by the first one of the plurality of virtual machines and a second one of the plurality of virtual machines; and associate the first cache region with a first storage policy, the first storage policy specifying an object to be stored in the first cache region is to be stored in the local memory cache and that a garbage collector is not to remove the object from the local memory cache. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A method comprising:
-
creating a first cache region associated with an application, the application running on a plurality of virtual machines, a first one of the plurality of virtual machines having a local memory cache that is private to the first one of the plurality of virtual machines and a shared memory cache that is shared by the first one of the plurality of virtual machines and a second one of the plurality of virtual machines; and associating the first cache region with a first storage policy, the first storage policy specifying that a first copy of an object to be stored in the first-cache region is to be stored in the local memory cache and that a second copy of the object to be stored in the first cache region is to be stored in the shared memory cache. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A machine-readable storage medium comprising instructions that, when executed by a processor of a machine, causes the machine to perform a method comprising:
-
creating a cache region associated with an application, the application running on a plurality of virtual machines, a first one of the plurality of virtual machines having a local memory cache that is private to the first one of the plurality of virtual machines and a shared memory cache that is shared by the first one of the plurality of virtual machines and a second one of the plurality of virtual machines; and associating the cache region with a storage policy, the storage policy specifying that a first shared closure stored in the cache region is to be bundled with a second shared closure stored in the cache region based on a size of the first shared closure and a size of the second shared closure not transgressing a size threshold, the first shared closure being a first plurality of objects, each of the first plurality of objects shareable by the plurality of virtual machines and not referencing an object outside the first plurality of objects, the second shared closure being a second plurality of objects, each of the second plurality of objects shareable by the plurality of virtual machines and not referencing an object outside the second plurality of objects. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification