Systems and/or methods for appropriately handling events
First Claim
1. A method for handling a stream of events, the method comprising:
- receiving the stream of events, at least some of said events having boundary conditions attached thereto, the boundary conditions being maximum reaction times and/or priorities;
executing, via at least one processor of a computer system, predefined queries on the events;
for each said event having a maximum reaction time and/or priority attached thereto;
estimating whether the event can be processed within the attached boundary condition,processing the predefined queries according to a first mode when the event can be processed within the attached boundary condition, and processing the predefined queries according to a second mode when the event cannot be processed within the attached boundary condition, wherein the second mode is practiced by at least temporarily suspending queries that do no consume events with attached boundary condition instead processing other queries; and
ending the second mode returning to processing according to the first mode when it is estimated that unconsumed events having attached boundary conditions can be processed within their attached boundary conditions.
1 Assignment
0 Petitions
Accused Products
Abstract
Certain example embodiments described herein relate to techniques for the attachment of priorities and/or reaction time limits to various entities of a system such as, for example, events, event types, queries, etc. The system'"'"'s processing may be tailored behavior to match these boundary conditions while at the same time increasing (and sometimes even maximizing) the rate of events processed. Advantageously, the system may be made to adapt its behavior to the current situation, which is changeable and may even be changing quite frequently, e.g., as in connection with a potentially rapidly changing stream. Users may in certain example embodiments specify policies to control this adaptation in certain example embodiments and, thus, in certain example instances, events (including events of special interest) may be handled appropriately, even in response to changing conditions.
-
Citations
26 Claims
-
1. A method for handling a stream of events, the method comprising:
-
receiving the stream of events, at least some of said events having boundary conditions attached thereto, the boundary conditions being maximum reaction times and/or priorities; executing, via at least one processor of a computer system, predefined queries on the events; for each said event having a maximum reaction time and/or priority attached thereto; estimating whether the event can be processed within the attached boundary condition, processing the predefined queries according to a first mode when the event can be processed within the attached boundary condition, and processing the predefined queries according to a second mode when the event cannot be processed within the attached boundary condition, wherein the second mode is practiced by at least temporarily suspending queries that do no consume events with attached boundary condition instead processing other queries; and ending the second mode returning to processing according to the first mode when it is estimated that unconsumed events having attached boundary conditions can be processed within their attached boundary conditions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 24)
-
-
14. A method for configuring a system to handle a stream of events, the method comprising:
-
defining a plurality of event types; storing said event types in an event type registry; and enabling the system to execute in first and second modes, wherein; the stream of events is received, at least some of said events having boundary conditions attached thereto, the boundary conditions being maximum reaction times and/or priorities; queries are executed, via at least one processor of the system, on the events; for each said event having a maximum reaction time and/or priority attached thereto; whether the event can be processed within the attached boundary condition is estimated, the queries are processed according to the first mode when the event can be processed within the attached boundary condition, and the queries are processed according to the second mode when the event cannot be processed within the attached boundary condition, wherein the second mode is practiced by at least temporarily suspending queries that do no consume events with attached boundary condition instead processing other queries; and the second mode is ended and processing is returned to the first mode when it is estimated that unconsumed events having attached boundary conditions can be processed within their attached boundary conditions. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 25, 26)
-
-
23. A system configured to generate and process a stream of events, comprising:
-
an event bus configured to receive the stream of events, at least some of said events having boundary conditions attached thereto, the boundary conditions being maximum reaction times and/or priorities; at least one processor configured to execute predefined queries on the events, the at least one processor being further configured to; for each said event having a maximum reaction time and/or priority attached thereto; estimate whether the event can be processed within the attached boundary condition, process the predefined queries according to a first mode when the event can be processed within the attached boundary condition, and process the predefined queries according to a second mode when the event cannot be processed within the attached boundary condition, wherein the second mode is practiced by at least temporarily suspending queries that do no consume events with attached boundary condition instead processing other queries; and end the second mode return to processing according to the first mode when it is estimated that unconsumed events having attached boundary conditions can be processed within their attached boundary conditions.
-
Specification