Shared closures on demand
First Claim
Patent Images
1. A method comprising:
- monitoring session data of a first virtual machine;
storing an indicator in a shared memory location, the indicator providing a location of the session data of the first virtual machine in a heap memory of the first virtual machine;
detecting a termination of the first virtual machine caused by a failure of the first virtual machine; and
copying the session data from the heap memory of the first virtual machine to the shared memory after the termination of the first virtual machine, using the indicator stored in the shared memory location to locate the session data in the first virtual machine.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for copying data from a virtual machine to a shared closure on demand. This process improves system efficiency by avoiding the copying of data in the large number of cases where the same virtual machine is the next to request access and use of the data. Load balancing and failure recovery are supported by copying the data to the shared closure when the data is requested by another virtual machine or recovering the data from the failed virtual machine and storing it in the shared closure before a terminated virtual machine is discarded.
16 Citations
20 Claims
-
1. A method comprising:
-
monitoring session data of a first virtual machine; storing an indicator in a shared memory location, the indicator providing a location of the session data of the first virtual machine in a heap memory of the first virtual machine; detecting a termination of the first virtual machine caused by a failure of the first virtual machine; and copying the session data from the heap memory of the first virtual machine to the shared memory after the termination of the first virtual machine, using the indicator stored in the shared memory location to locate the session data in the first virtual machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a shared memory component; a first virtual machine to service an application server; and a session manager to store an indicator of session data location in a heap memory within the first virtual machine, the indicator stored in the shared memory component, the session manager to copy session data of the first virtual machine from the heap memory to the shared memory component, after detecting a failure of the first virtual machine, using the indicator stored in the shared memory component to locate the session data in the heap memory of the first virtual machine. - View Dependent Claims (10, 11, 12)
-
-
13. A non-transitory machine readable medium having instructions stored therein, which if executed by a machine, cause the machine to perform a set of operations comprising:
-
tracking session activity of a first virtual machine; and updating a set of references to data in a shared memory in response to session activity, the set of references indicating a location of session data in a heap structure in the first virtual machine; detecting a termination of the first virtual machine caused by a failure of the first virtual machine; and copying the session data from the heap structure of the first virtual machine to the shared memory after the termination of the first virtual machine, using the set of references in the shared memory to locate the session data in the heap structure of the first virtual machine. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification