×

Dynamic reduction of stream backpressure

  • US 8,990,452 B2
  • Filed: 07/26/2011
  • Issued: 03/24/2015
  • Est. Priority Date: 07/26/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for processing data, the computer program product comprising:

  • a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising computer-readable program code configured to;

    receive streaming data to be processed by a plurality of processing elements, wherein each of the processing elements is an executable portion of code;

    establish an operator graph of the plurality of processing elements, the operator graph defining at least one execution path through which the streaming data flows through the plurality of processing elements, wherein each processing element in the execution path is configured to at least one of receive data from at least one upstream processing element and transmit data to at least one downstream processing element;

    monitor an indicator of backpressure associated with a first processing element in the execution path, wherein the indicator of backpressure represents the data throughput of the first processing element;

    prioritize at least two of the plurality of processing elements that are one of upstream and downstream of the first processing element in the execution path, wherein priority is based on at least one of (i) an importance of a job associated with each of the at least two of the processing elements, (ii) an importance of data transmitted by each of the at least two of the processing elements, and (iii) a transient time required by each of the processing elements in the at least two of the processing elements to process the streaming data ; and

    upon determining that the indicator of backpressure satisfies a predetermined threshold indicating that the first processing element is processing data at an output rate that is less than an input rate at which the first processing element receives data, perform a corrective action to change the rate of data flowing through the first processing element to enable the first processing element to process data such that the output rate is greater than or equal to the input rate, wherein the corrective action is performed on a lowest priority processing element of the prioritized processing elements.

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