1. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; an application residing in the memory; an operator graph residing in the memory that represents the application using a plurality of operators and a plurality of data flows between the plurality of operators; and an operator graph analysis mechanism that analyzes the operator graph at runtime when the application runs, detects at least one problem in the operator graph based on at least one data bottleneck in the operator graph, and performs at least one resource reallocation to improve performance of the application represented in the operator graph.