Increasing performance of a streaming application by running experimental permutations
First Claim
1. An apparatus comprising:
- at least one processor;
a memory coupled to the at least one processor;
a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a flow graph that includes a plurality of operators that process a plurality of data tuples; and
a streams manager residing in the memory and executed by the at least one processor, the streams manager monitoring performance of the streaming application, and when performance of the streaming application needs to be improved, the streams manager requests a cloud manager to provision at least one virtual machine, and when the cloud manager provisions the at least one virtual machine, the streams manager generates using the at least one virtual machine a permutation of a portion of the flow graph that provides logical equivalence of tuples of the portion of the flow graph, runs the permutation in parallel with the portion of the flow graph, determines whether the performance of the permutation exceeds the performance of the portion of the flow graph, and when the performance of the permutation exceeds the performance of the portion of the flow graph, the streams manager modifies the flow graph to replace the portion of the flow graph with the permutation.
1 Assignment
0 Petitions
Accused Products
Abstract
A streams manager monitors performance of a streaming application, and when the performance needs to be improved, the streams manager automatically requests virtual machines from a cloud manager. In response, the cloud manager provisions one or more virtual machines in a cloud. The streams manager builds a permutation of a flow graph for the streaming application using the virtual machine(s), runs the permutation in parallel with the corresponding portion of the flow graph, and compares the performance of the original portion of the flow graph to the performance of the permutation. When the performance of the permutation exceeds the performance of the original part of the flow graph, the streams manager modifies the flow graph so the permutation replaces the original part of the flow graph. In this manner a streaming application can dynamically evolve to increase its performance as needed.
-
Citations
7 Claims
-
1. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a flow graph that includes a plurality of operators that process a plurality of data tuples; and a streams manager residing in the memory and executed by the at least one processor, the streams manager monitoring performance of the streaming application, and when performance of the streaming application needs to be improved, the streams manager requests a cloud manager to provision at least one virtual machine, and when the cloud manager provisions the at least one virtual machine, the streams manager generates using the at least one virtual machine a permutation of a portion of the flow graph that provides logical equivalence of tuples of the portion of the flow graph, runs the permutation in parallel with the portion of the flow graph, determines whether the performance of the permutation exceeds the performance of the portion of the flow graph, and when the performance of the permutation exceeds the performance of the portion of the flow graph, the streams manager modifies the flow graph to replace the portion of the flow graph with the permutation. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification