14. The system of claim 10 , wherein the processor is configured to determine the separate constraint for each operator within the plurality of separate operators by: determining a first constraint for the operator based on constraints of one or more operators from which the operator receives input; determining a second constraint for the operator based on an operation type of the operator; and determining a final constraint for the operator based at least in part on the first constraint and the second constraint.
10. A system for processing a data stream of events, the system comprising: a memory storing a plurality of instructions; and a processor coupled to the memory, the processor configured to execute the plurality of instructions to: determine that multiple portions of a continuous event processing (CEP) query can be executed concurrently relative to an event in an event stream, the instructions to determine that multiple portions of the CEP query can be executed concurrently relative to an event in an event stream comprising instructions to: split the CEP query into a plurality of separate operators; determine a separate constraint for each operator within the plurality of separate operators; and determine, based at least in part on the separate constraint for each operator within the plurality of separate operators, whether at least a part of the CEP query can be executed in a concurrent manner; execute the multiple portions of the CEP query concurrently against a first event received via the event stream in response to determining that at least part of the CEP query can be executed in a concurrent manner; and merge, into a single shared operator, (a) a first operator that is used by a first CEP query that processes at least the first event in the event stream, and (b) a second operator that is used by a second CEP query that also processes at least the first event in the event stream, in response to determining that the first operator and the second operator both perform a particular type of operation.