PERSISTENT APPLICATION ACTIVATION AND TIMER NOTIFICATIONS
First Claim
1. In a computer architecture including one or more processors and system memory, the computer architecture also including one or more instance execution hosts, a durable instance manager, and an instance store, the one or more instance execution hosts configured to execute application instances in system memory, wherein application instances include a unit of application state and associated execution logic representing a portion of an application, the instance store configured to durably persist application instances, the durable instance manager configured to receive load and save operations received from instance execution hosts and forward load and save operations to the instance store for implementation, the durable instance manager configured to track whether instances are executing in memory or are persisted, a method for re-activating an instance, the method comprising:
- an act of a first instance execution host, from among the one or more instance execution hosts, executing an application instance representing a portion of an application;
an act of determining that the application instance is to be dormant for some amount of time before further processing of the application instance occurs;
an act of assigning a system property to the instance, the system property containing information indicating that the application instance is to be subsequently re-activated for execution;
an act of a second instance execution host, from among the one or more instance execution hosts, registering with the durable instance manager an interest in receiving event notifications regarding application instances to re-activate;
an act of the second instance execution host receiving an event notification to re-activate the application instance, the event notification responsive to the information contained in the system property persisted in the instance store and the registration with the durable instance manager; and
an act of loading the application instance at the second instance execution host in response to receiving the event notification to further process the application instance.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to methods, systems, and computer program products for persistent application activation and timer notifications. A durable instance manager, instance execution hosts, and an instance store interoperate to transition instances between executing and persisted states. System properties are associated with an instance. System properties can define re-activation conditions, that when satisfied, indicate that an instance is to be re-activated for execution. System properties can define timers as well as indications that instances are in a persisted but ready to run state.
-
Citations
22 Claims
-
1. In a computer architecture including one or more processors and system memory, the computer architecture also including one or more instance execution hosts, a durable instance manager, and an instance store, the one or more instance execution hosts configured to execute application instances in system memory, wherein application instances include a unit of application state and associated execution logic representing a portion of an application, the instance store configured to durably persist application instances, the durable instance manager configured to receive load and save operations received from instance execution hosts and forward load and save operations to the instance store for implementation, the durable instance manager configured to track whether instances are executing in memory or are persisted, a method for re-activating an instance, the method comprising:
-
an act of a first instance execution host, from among the one or more instance execution hosts, executing an application instance representing a portion of an application; an act of determining that the application instance is to be dormant for some amount of time before further processing of the application instance occurs; an act of assigning a system property to the instance, the system property containing information indicating that the application instance is to be subsequently re-activated for execution; an act of a second instance execution host, from among the one or more instance execution hosts, registering with the durable instance manager an interest in receiving event notifications regarding application instances to re-activate; an act of the second instance execution host receiving an event notification to re-activate the application instance, the event notification responsive to the information contained in the system property persisted in the instance store and the registration with the durable instance manager; and an act of loading the application instance at the second instance execution host in response to receiving the event notification to further process the application instance. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computer architecture including one or more processors and system memory, the computer architecture also including one or more instance execution hosts, a durable instance manager, and an instance store, the one or more instance execution hosts configured to execute application instances in system memory, wherein application instances include a unit of application state and associated execution logic representing a portion of an application, the instance store configured to durably persist application instances, the durable instance manager configured to receive load and save operations received from instance execution hosts and forward load and save operations to the instance store for implementation, the durable instance manager configured to track whether instances are executing in memory or are persisted, a method for re-activating an instance, the method comprising:
-
an act of the durable instance manager monitoring execution of an application instance at an instance execution host; an act of the durable instance manager receiving an indication that the application instance is to be subsequently re-activated at an instance execution host at a future time; an act of the durable instance manager persisting a system property corresponding to the application instance at the instance store, the system property containing information defining a re-activation condition that, when satisfied, is an indication that the application instance is to be re-activated for an act of the durable instance manager detecting an event that satisfies the re-activation condition subsequent to persisting the system property corresponding to the application instance; an act of the durable instance manager receiving registration requests from one or more instance execution hosts for interest in receiving event notifications regarding application instances to re-activate; and an act of the durable instance manager sending an event notification to a further instance execution host to re-activate the application instance for execution, the event notification responsive to detection of the event that satisfies the re-activation condition and the registration from the instance execution host. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. In a computer architecture including one or more processors and system memory, a method for re-activating an application instance, the method comprising:
-
executing, at a first instance execution host, the application instance; determining, at the first instance execution host, that the application instance is to be saved; saving the application instance, wherein the saving of the application instance persists the state of the application instance to a durable store; providing, at a second instance execution host, an infrastructural endpoint for receiving requests to administer application instances; transmitting, to a durable instance manager, the address of the infrastructural endpoint for the second instance execution host; receiving at the second instance execution host, a request to run the application instance; and restoring the application instance to the second instance execution host to re-activate the application instance and return the application instance to an executing state. - View Dependent Claims (21, 22)
-
Specification