×

Tearing down virtual machines implementing parallel operators in a streaming application based on performance

  • US 9,619,266 B2
  • Filed: 10/10/2014
  • Issued: 04/11/2017
  • Est. Priority Date: 10/10/2014
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method executed by at least one processor for managing a streaming application, the method comprising:

  • executing a streaming application that comprises 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 in parallel;

    monitoring performance of the streaming application;

    when performance of the streaming application indicates processing data tuples in parallel by the first set of operators and the second set of operators is no longer needed, determining which of the first virtual machine and second virtual machine is least performing;

    when the least performing virtual machine can be torn down, tearing down the least performing virtual machine;

    wherein when the least performing virtual machine cannot be torn down;

    gathering data regarding a better performing virtual machine operating on the flow graph in parallel with the least performing virtual machine;

    when the least performing virtual machine can be made more similar to the better performing virtual machine, making at least one change to the least performing virtual machine to improve performance of the least performing virtual machine; and

    tearing down the better performing virtual machine;

    wherein when the least performing virtual machine cannot be made more similar to the better performing virtual machine;

    determining when the least performing virtual machine can be migrated to a location where the least performing virtual machine can be made more similar to the better performing virtual machine;

    migrating the least performing virtual machine to the location;

    making at least one change to the least performing virtual machine to improve performance of the least performing virtual machine; and

    tearing down the better performing virtual machine.

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