×

Replicating a virtual machine implementing parallel operators in a streaming application based on performance

  • US 10,467,041 B2
  • Filed: 05/15/2018
  • Issued: 11/05/2019
  • Est. Priority Date: 10/10/2014
  • Status: Active Grant
First Claim
Patent Images

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, wherein the flow graph comprises a first set of operators implemented in a first virtual machine and a second set of operators implemented in a second virtual machine, wherein the first set of operators and the second set of operators include similar operators and connections between operators and operate on data tuples from a first data stream in parallel and produce data tuples that are sent to a same operator in the streaming application; and

    a streams manager residing in the memory and executed by the at least one processor, wherein the streams manager monitors performance of the streaming application, logs performance data for each virtual machine that includes operators in the flow graph, and when there is a need to replicate operators from the first virtual machine to a new virtual machine, uses the logged performance data to determine a desired configuration for the new virtual machine that implements a new set of operators in the streaming application that operate on data tuples from a second data stream in the streaming application in parallel with operators in at least one existing virtual machine,wherein the streams manager determines from the performance data a past implementation for the first virtual machine that had the best performance, and allocates resources to the new virtual machine according to the past implementation for the first virtual machine that had the best performance to create the desired configuration for the new virtual machine.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×