Systems and methods for event stream processing
First Claim
1. A method for performing event processing comprising:
- processing an event stream by an application executed by a computer system, the application comprising a plurality of event handlers, each event handler of the plurality of event handlers comprising;
receiving an input stream from the event stream;
performing an event handling function; and
outputting to an output stream of the event stream;
detecting an overload condition for an event handler of the plurality of event handlers, the overload condition comprising one or more excess events of the input stream in excess of a capacity of the event handler of the plurality of event handlers; and
in response to the detecting of the overload condition;
processing the one or more excess events according to a degraded handling function, the degraded handling function comprising;
protecting the one or more excess events from discard; and
a lower latency than the event handling function;
publishing events according to the processing of the one or more excess events according to the degraded handling function to the output stream of the event stream of the event handler of the plurality of event handlers;
detecting a degraded handling function overload condition for the degraded handling function, the degraded handling function overload condition comprising one or more degraded handling function excess events in excess of a capacity of the degraded handling function; and
in response to the detecting of the degraded handling function overload condition;
processing the one or more degraded handling function excess events according to a second degraded handling function, the second degraded handling function comprising protecting the one or more degraded handling function excess events from discard.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are systems and methods for processing events in an event stream using a map-update application. The events may be embodied as a key-attribute pair. An event is processed by one or more instances implementing either a map or an update function. A map function receives an input event from the event stream and publishes one or more events to the event stream. An update function receives an event and updates a corresponding slate and publishes zero or more events. Systems and methods are also disclosed herein for implementing a map-update application in a multithreaded architecture and for handling overloading of a particular thread or node. Systems and methods for providing access to slates updated according to update operations are also disclosed.
15 Citations
18 Claims
-
1. A method for performing event processing comprising:
-
processing an event stream by an application executed by a computer system, the application comprising a plurality of event handlers, each event handler of the plurality of event handlers comprising; receiving an input stream from the event stream; performing an event handling function; and outputting to an output stream of the event stream; detecting an overload condition for an event handler of the plurality of event handlers, the overload condition comprising one or more excess events of the input stream in excess of a capacity of the event handler of the plurality of event handlers; and in response to the detecting of the overload condition; processing the one or more excess events according to a degraded handling function, the degraded handling function comprising;
protecting the one or more excess events from discard; anda lower latency than the event handling function; publishing events according to the processing of the one or more excess events according to the degraded handling function to the output stream of the event stream of the event handler of the plurality of event handlers; detecting a degraded handling function overload condition for the degraded handling function, the degraded handling function overload condition comprising one or more degraded handling function excess events in excess of a capacity of the degraded handling function; and in response to the detecting of the degraded handling function overload condition; processing the one or more degraded handling function excess events according to a second degraded handling function, the second degraded handling function comprising protecting the one or more degraded handling function excess events from discard. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for performing event processing comprising one or more processors and one or more memory devices operably coupled to the one or more processors, the one or memory devices storing executable and operational code effective to cause the one or more processors to:
-
process an event stream by an application, the application comprising a plurality of event handlers, each event handler of the plurality of event handlers comprising; receiving an input stream from the event stream; performing an event handling function; and outputting to an output stream of the event stream; detect an overload condition for an event handler of the plurality of event handlers, the overload condition comprising one or more excess events of the input stream in excess of a capacity of the event handler of the plurality of event handlers; and in response to the detecting of the overload condition; process the one or more excess events according to a degraded handling function, the degraded handling function comprising; protecting the one or more excess events from discard; and a lower latency than the event handling function; publish events according to the processing the one or more excess events according to the degraded handling function to the output stream of the event stream of the event handler of the plurality of event handlers a lower latency than the event handling function; detect a degraded handling function overload condition for the degraded handling function, the degraded handling function overload condition comprising one or more degraded handling function excess events in excess of a capacity of the degraded handling function; and in response to the detecting the degraded handling function overload condition; process the one or more degraded handling function excess events according to a second degraded handling function, the second degraded handling function comprising protecting the one or more degraded handling function excess events from discard. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product for managing a transaction, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
-
processing an event stream by an application executed by a computer system, the application comprising a plurality of event handlers, each event handler of the plurality of event handlers comprising; receiving an input stream from the event stream; performing an event handling function; and outputting to an output stream; detecting an overload condition for an event handler of the plurality of event handlers, the overload condition comprising one or more excess events of the input stream in excess of a capacity of the event handler of the plurality of event handlers; and in response to the detecting the overload condition; processing at least a portion of the one or more excess events according to a degraded handling function, the degraded handling function comprising; protecting the one or more excess events from discard; and a lower latency than the event handling function; publishing events according to the processing the one or more excess events according to the degraded handling function to the output stream of the event stream of the event handler of the plurality of event handlers; detecting a degraded handling function overload condition for the degraded handling function, the degraded handling function overload condition comprising one or more degraded handling function excess events in excess of a capacity of the degraded handling function; and in response to the detecting the degraded handling function overload condition; processing the one or more degraded handling function excess events according to a second degraded handling function, the second degraded handling function comprising protecting the one or more degraded handling function excess events from discard. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification