1. A method for handling a stream of events, the method comprising: receiving the stream of events, at least one 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 a 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 not 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.