STREAMS OPTIONAL EXECUTION PATHS DEPENDING UPON DATA RATES
First Claim
1. A method of processing data comprising:
- receiving streaming data to be processed by a plurality of interconnected processing elements, each processing element comprising one or more operators that process at least a portion of the received data by operation of one or more computer processors;
measuring a data flow rate in a data path between at least two operators in the plurality of processing elements;
selecting an optional code module based on the measured flow rate; and
executing the selected code module on one of the plurality of processing elements such that data received by the one processing element is processed by the selected code module.
1 Assignment
0 Petitions
Accused Products
Abstract
Processing elements in a streaming application may contain one or more optional code modules—i.e., computer-executable code that is executed only if one or more conditions are met. In one embodiment, an optional code module is executed based on evaluating data flow rate between components in the streaming application. As an example, the stream computing application may monitor the incoming data rate between processing elements and select which optional code module to execute based on this rate. For example, if the data rate is high, the stream computing application may choose an optional code module that takes less time to execute. Alternatively, a high data rate may indicate that the incoming data is important; thus, the streaming application may choose an optional code module containing a more rigorous data processing algorithm, even if this algorithm takes more time to execute.
13 Citations
9 Claims
-
1. A method of processing data comprising:
-
receiving streaming data to be processed by a plurality of interconnected processing elements, each processing element comprising one or more operators that process at least a portion of the received data by operation of one or more computer processors; measuring a data flow rate in a data path between at least two operators in the plurality of processing elements; selecting an optional code module based on the measured flow rate; and executing the selected code module on one of the plurality of processing elements such that data received by the one processing element is processed by the selected code module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification