Processing control in a streaming application
First Claim
Patent Images
1. A method for processing a stream of tuples, comprising:
- receiving the stream of tuples for processing by a plurality of processing elements to produce a processing result;
segmenting the stream of tuples into a plurality of partitions, each of the plurality of partitions including a subset of the stream of tuples;
maintaining a processing history for each of the plurality of partitions, the processing history including input values for tuples in the partition and further including output values for the tuples in the partition;
determining that a performance metric falls outside a performance threshold, the performance metric associated with the processing by the plurality of processing elements to produce the processing result;
determining, based on the processing history of a first partition and further based on the determining that the performance metric falls outside the performance threshold, that tuples in the first partition substantially contribute to the processing result;
determining, based on the processing history of a second partition and further based on the determining that the performance metric falls outside the performance threshold, that tuples in the second partition do not substantially contribute to the processing result;
continuing the processing of the tuples in the first partition by the plurality of processing elements; and
discontinuing the processing of the tuples in the second partition by the plurality of processing elements.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for processing a stream of tuples are disclosed. The method, system, and computer program product may include receiving a stream of tuples to be processed by a plurality of processing elements. Each tuple may have an associated processing history. The stream of tuples may be segmented into a plurality of partitions, each representing a subset of the stream of tuples. The method, system, and computer program product may include estimating the contribution each partition will have on a particular processing result and processing a partition if it substantially contributes to the particular processing result.
14 Citations
5 Claims
-
1. A method for processing a stream of tuples, comprising:
-
receiving the stream of tuples for processing by a plurality of processing elements to produce a processing result; segmenting the stream of tuples into a plurality of partitions, each of the plurality of partitions including a subset of the stream of tuples; maintaining a processing history for each of the plurality of partitions, the processing history including input values for tuples in the partition and further including output values for the tuples in the partition; determining that a performance metric falls outside a performance threshold, the performance metric associated with the processing by the plurality of processing elements to produce the processing result; determining, based on the processing history of a first partition and further based on the determining that the performance metric falls outside the performance threshold, that tuples in the first partition substantially contribute to the processing result; determining, based on the processing history of a second partition and further based on the determining that the performance metric falls outside the performance threshold, that tuples in the second partition do not substantially contribute to the processing result; continuing the processing of the tuples in the first partition by the plurality of processing elements; and discontinuing the processing of the tuples in the second partition by the plurality of processing elements. - View Dependent Claims (2, 3, 4, 5)
-
Specification