Patent ID: 8903782

Claim:
A computer-implemented method, comprising: issuing an instance persistence command for an update to a state of an instance of an application running on an application host; initiating a transaction with an instance store in response to the instance persistence command, the instance store being connected to the application host; as part of the transaction, causing a first representation of the update to be stored in the instance store; and as part of the transaction, causing a second representation of the update to be stored in a queue; committing the transaction after the first representation and the second representation have been stored; and processing the second representation of the update to cause storage of a third representation of the update in a query store that is a different store from the instance store, at least a portion of the processing of the second representation being performed after committing the transaction, the processing of the second representation comprising applying a filter to the second representation of the update to obtain the third representation of the update that meets one or more requirements of the filter, wherein the transaction includes obtaining a lock on at least a portion of the instance store, and wherein the lock is released prior to the third representation being stored in the query store.