APPLICATION INSTANCE AND QUERY STORES
First Claim
1. A computer-implemented method, comprising:
- issuing an instance persistence command for an update to a state of an instance of an application;
initiating a transaction with an instance store in response to the persistence command;
as part of the transaction, storing a first representation of the update in the instance store; and
as part of the transaction, storing a second representation of the update in a queue;
committing the transaction after storing the first representation and the second representation; and
after committing the transaction, processing the second representation of the update to store a third representation of the update in a query store.
2 Assignments
0 Petitions
Accused Products
Abstract
An instance persistence command for an update to a state of an instance of an application can be issued. In response to the persistence command, a transaction with an instance store can be initiated. As part of the transaction, a first representation of the update can be stored in the instance store and a second representation of the update can be stored in a queue. The transaction can be committed after storing the first and second representations. After the transaction is committed, the second representation can be processed to store a third representation of the update in a query store. Application instance state information in the query store can be updated and queried without locking the instance store so that such operations in the query store can be performed asynchronously with operations in the instance store.
23 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
issuing an instance persistence command for an update to a state of an instance of an application; initiating a transaction with an instance store in response to the persistence command; as part of the transaction, storing a first representation of the update in the instance store; and as part of the transaction, storing a second representation of the update in a queue; committing the transaction after storing the first representation and the second representation; and after committing the transaction, processing the second representation of the update to store a third representation of the update in a query store. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. One or more computer-readable storage media having computer-executable instructions embodied thereon that, when executed by at least one processor, cause the at least one processor to perform acts comprising:
-
receiving from a query service a subscription request for results of application instance state updates, the subscription request comprising a filter; receiving from a results queue a set of results of one or more application instance state updates; applying the filter to the set of results from the results queue; publishing to the query service one or more results of the set that meet a set of one or more requirements of the filter; and storing in a query store one or more representations of one or more application instance state updates corresponding to the one or more results published to the query service. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer system comprising:
-
an application host configured to run one or more application instances; an instance store connected to the application host; a results queue connected to the application host, wherein the application host, the instance store, and the results queue are configured to participate in transactions in response to instance persistence commands for updates to one or more states of one or more instances of an application running on the application host, each of the transactions comprising; initiating the transaction in response to an instance persistence command for an update to a state of an application instance; storing a first representation of the update in the instance store; storing a second representation of the update in the results queue; and committing the transaction; a publisher connected to the queue; one or more query services connected to the publisher, the publisher being configured to process update representations in the results queue to publish results from the queue to the one or more query services, the processing and publishing being done without locking the instance store; and one or more query stores connected to the one or more query services, each of the one or more query services being configured to respond to received results by storing in a query store representations of updates corresponding to the received results. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification