Dynamic reduction of stream backpressure

US9389911B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9389911-B2
Application numberUS-201213682008-A
CountryUS
Kind codeB2
Filing dateNov 20, 2012
Priority dateJul 26, 2011
Publication dateJul 12, 2016
Grant dateJul 12, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques are described for eliminating backpressure in a distributed system by changing the rate data flows through a processing element. Backpressure occurs when data throughput in a processing element begins to decrease, for example, if new processing elements are added to the operating chart or if the distributed system is required to process more data. Indicators of backpressure (current or future) may be monitored. Once current backpressure or potential backpressure is identified, the operator graph or data rates may be altered to alleviate the backpressure. For example, a processing element may reduce the data rates it sends to processing elements that are downstream in the operator graph, or processing elements and/or data paths may be eliminated. In one embodiment, processing elements and associate data paths may be prioritized so that more important execution paths are maintained.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of processing data in a stream application, comprising: receiving streaming data to be processed by a plurality of processing elements, the processing elements processing at least a portion of the received data by operation of one or more computer processors, wherein each of the processing elements comprises an executable portion of code; establishing 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, and 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; receiving a request to add at least one processing element to the execution path of the operator graph; before adding the at least one processing element, identifying a predicted relative change of data throughput in a first processing element in the execution path, wherein the predicted relative change of data is based on (i) predicting utilization rates of computer processors in two or more downstream processing elements resulting from adding the at least one processing element to the operator graph, (ii) determining whether at least one downstream processing element is at or near a maximum utilization rate and (iii) determining whether, based on historical information containing conditions in the operator graph that caused backpressure previously, adding the at least one processing element will cause backpressure in the future; and upon determining that the relative change of data throughput satisfies a predetermined threshold, determining not to add the at least one processing element to the operator graph. 2. The method of claim 1 , wherein the request to add at least one processing element to the operator graph is predicted to increase the amount of data flowing to the first processing element. 3. A system for processing data, comprising: a computer processor; and a memory containing a program that, when executed on the computer processor, performs an operation for processing data, comprising: receiving streaming data to be processed by a plurality of processing elements, wherein each of the processing elements comprises an executable portion of code; establishing 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, and 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; receiving a request to add at least one processing element to the execution path of the operator graph; before adding the at least one processing element, identifying a predicted relative change of data throughput in a first processing element in the execution path, wherein the predicted relative change of data is based on (i) predicting utilization rates of computer processors in two or more downstream processing elements resulting from adding the at least one processing element, (ii) determining whether at least one downstream processing element is at or near a maximum utilization rate and (iii) determining whether, based on historical information containing conditions in the operator graph that caused backpressure previously, adding the at least one processing element will cause backpressure in the future; and upon determining that the relative change of data throughput satisfies a predetermined threshold, determining not to add the at least one processing element to the operator graph. 4. The system of claim 3 , wherein the request to add at least one processing element to the operator graph is predicted to increase the amount of data flowing to the first processing element. 5. 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, the processing elements processing at least a portion of the received data by operation of one or more computer processors, wherein each of the processing elements comprises 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, and 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; receive a request to add at least one processing element to the execution path of the operator graph; before adding the at least one processing element, identify a predicted relative change of data throughput in a first processing element in the execution path, wherein the predicted relative change of data is based on (i) predicting utilization rates of computer processors in two or more downstream processing elements resulting from adding the at least one processing element, (ii) determining whether at least one downstream processing element is at or near a maximum utilization rate and (iii) determining whether, based on historical information containing conditions in the operator graph that caused backpressure previously, adding the at least one processing element will cause backpressure in the future; and upon determining that the relative change of data throughput satisfies a predetermined threshold, determining not to add the at least one processing element to the operator graph. 6. The computer program product of claim 5 , wherein the request to add at least one processing element to the operator graph is predicted to increase the amount of data flowing to the first processing element.

Assignees

Inventors

Classifications

  • G06F9/5083Primary

    Techniques for rebalancing the load in a distributed system · CPC title

  • Graphs; Linked lists (G06F16/9027 takes precedence) · CPC title

  • Data stream processing; Continuous queries · CPC title

  • by program, e.g. task dispatcher, supervisor, operating system · CPC title

  • G06F9/4887Primary

    involving deadlines, e.g. rate based, periodic · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9389911B2 cover?
Techniques are described for eliminating backpressure in a distributed system by changing the rate data flows through a processing element. Backpressure occurs when data throughput in a processing element begins to decrease, for example, if new processing elements are added to the operating chart or if the distributed system is required to process more data. Indicators of backpressure (current …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/5083. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 12 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).