Patent ID: 7984040

Claim:
A method for distributed event processing, the method comprising: receiving, at one or more computer systems, a query associated with an event stream; identifying, with one or more processors associated with the one or more computer systems, a first set of properties associated with the event stream; identifying, with the one or more processor associated with the one or more computer systems, a second set of properties that satisfy one or more heuristics from the first set of properties; optimizing, with the one or more processor associated with the one or more computer systems, the query in response to the second set of properties that satisfy the one or more heuristics; generating, with one or more processors associated with the one or more computer systems, a request addressed to a first event processor hosted by the one or more computer systems for a first portion of event data associated with the event stream; receiving, at the one or more computer systems, information indicating that the first portion of event data was received at a second event processor hosted by the one or more computer systems; generating, with the one or more processors associated with the one or more computer systems, an event based on the first portion of event data; and storing the event in response to the query in a database associated with the one or more computer systems.