Event batching, output sequencing, and log based state storage in continuous query processing
First Claim
1. A system comprising:
- a memory storing a plurality of instructions; and
one or more hardware processors configured to access the memory, wherein the one or more hardware processors are further configured to execute the plurality of instructions to at least;
receive a continuous input stream of events related to an application;
process a first batch of events of the continuous input stream of events using a continuous query to generate an output stream of events related to the application;
identify one or more operators of the continuous query;
determine that an operator type of the identified one or more operators is a journaled operator;
generate a journaled snapshot of a current state of the system based at least in part on execution of the journaled operator on at least the first batch of events; and
store the journaled snapshot of the current state of the system.
1 Assignment
0 Petitions
Accused Products
Abstract
An event processing system is disclosed that processes events of an event stream, performs the recovery of events during system failure and preserves the state of the system reliably and accurately while achieving desired system performance. In an embodiment, the event processing system processes a first batch of events of a continuous input stream of events using a continuous query and generates an output stream of events related to an application. The event processing system identifies one or more operators of the continuous query and determines that an operator is a journaled operator. The event processing system generates a journaled snapshot of a current state of the system based on execution of the journaled operator on at least the first batch of events and stores the journaled snapshot of the current state of the system.
-
Citations
20 Claims
-
1. A system comprising:
-
a memory storing a plurality of instructions; and one or more hardware processors configured to access the memory, wherein the one or more hardware processors are further configured to execute the plurality of instructions to at least; receive a continuous input stream of events related to an application; process a first batch of events of the continuous input stream of events using a continuous query to generate an output stream of events related to the application; identify one or more operators of the continuous query; determine that an operator type of the identified one or more operators is a journaled operator; generate a journaled snapshot of a current state of the system based at least in part on execution of the journaled operator on at least the first batch of events; and store the journaled snapshot of the current state of the system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method, implemented at least by one computing device, comprising:
-
receiving a continuous input stream of events related to an application; processing a first batch of events of the continuous input stream of events using a continuous query to generate an output stream of events related to the application; identifying one or more operators of the continuous query; determining that an operator type of the identified one or more operators is a journaled operator; generating a journaled snapshot of a current state of the system based at least in part on execution of the journaled operator on at least the first batch of events; and storing the journaled snapshot of the current state of the system. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage memory storing a plurality of instructions executable by one or more processors, the plurality of instructions comprising:
-
instructions that cause the one or more processors to receive a continuous input stream of events related to an application; instructions that cause the one or more processors to process a first batch of events of the continuous input stream of events using a continuous query to generate an output stream of events related to the application; instructions that cause the one or more processors to identify one or more operators of the continuous query; instructions that cause the one or more processors to determine that an operator type of the identified one or more operators is a journaled operator; instructions that cause the one or more processors to generate a journaled snapshot of a current state of the system based at least in part on execution of the journaled operator on at least the first batch of events; and instructions that cause the one or more processors to store the journaled snapshot of the current state of the system. - View Dependent Claims (18, 19, 20)
-
Specification