# US 2016/0366042 A1 · Limiting data output from windowing operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0366042 A1
- Document ID: US20160366042A1
- Status: Published application
- Kind: A1
- Application number: 14/734,590
- Filed: 2015-06-09
- Published: 2016-12-15
- Earliest claimed: 2015-06-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael J. Branson; Jay S. Bryant; James E. Carey; John M. Santosuosso
- Web page: https://patentgrep.com/patent/US20160366042A1

## CPC

- H04L 43/16: Threshold monitoring
- G06F 16/24568: {Data stream processing; Continuous queries}
- H04L 43/0882: Utilisation of link capacity
- H04L 47/22: Traffic shaping
- H04L 47/25: with rate being modified by the source upon detecting a change of network conditions
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for regulating output from stream operators performing a windowing operation may include receiving stream of tuples to be processed by a plurality of processing elements, each processing element having one or more stream operators. The method may also include receiving a first stream of tuples at a first stream operator, the first stream operator being configured to generate a stream of accumulated tuples according to a set of windowing conditions. The method may then include processing the stream of accumulated tuples in response to a window trigger, where the processing generates a quantity of output. At least one processor may then monitor the quantity of output to determine whether the quantity of output exceeds a data output threshold. The processing may then be adjusted, in response to determining that the quantity of output exceeds the data output threshold, to reduce the output to approach the data output threshold.

## Claims

### Claim 1

A computer implemented method for regulating output from one or more stream operators performing a windowing operation, comprising:
receiving stream of tuples to be processed by a plurality of processing elements operating on one or more processors, each processing element having one or more stream operators;
receiving a first stream of tuples at a first stream operator, the first stream operator being configured to generate a stream of accumulated tuples according to a set of windowing conditions;
processing, by the first stream operator, the stream of accumulated tuples in response to a window trigger,
wherein the processing generates a quantity of output;
monitoring, by at least one processor, the quantity of output;
determining whether the quantity of output exceeds a data output threshold; and
adjusting, in response to determining that the quantity of output exceeds the data output threshold, the processing to reduce the output to approach the data output threshold.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the quantity of output is a number of tuples.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the adjusting further comprises:
determining that a first tuple of the stream of accumulated tuples is from the first stream; and
excluding, in response to the determining, the first tuple from the processing.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein the adjusting further comprises:
determining that a first tuple generated by the first stream operator from the stream of accumulated tuples is derived from the first stream of tuples; and
excluding, in response to the determining, the first tuple from the quantity of output.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein the adjusting further includes adjusting the processing of a second stream of tuples by a second operator,
wherein the processing of the second stream of tuples is in response to a second window trigger.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein the quantity of output is a data size.

### Claim 7

A system for processing a stream of tuples comprising:
one or more compute nodes, each compute node having one or more computer processors and a memory;
a processing element operating on the one or more computer processors, the processing element to receive and process two or more tuples, the processing element having a stream computing application configured to:
receive a stream of tuples to be processed by a plurality of processing elements operating on one or more processors, each processing element having one or more stream operators;
receive a first stream of tuples at a first stream operator, the first stream operator being configured to generate a stream of accumulated tuples according to a set of windowing conditions;
process, by the first stream operator, the stream of accumulated tuples in response to a window trigger,
wherein the processing generates a quantity of output;
monitor the quantity of output;
determine whether the quantity of output exceeds a data output threshold; and
adjust, in response to determining that the quantity of output exceeds the data output threshold, the processing to reduce the output to approach the data output threshold.

### Claim 8 (depends on 7)

The system of claim 7, wherein the quantity of output is a number of tuples.

### Claim 9 (depends on 7)

The system of claim 7, wherein the stream computing application is further configured to:
determine that a first tuple of the stream of accumulated tuples is from the first stream; and
exclude, in response to the determining, the first tuple from the processing.

### Claim 10 (depends on 7)

The system of claim 7, wherein the stream computing application is further configured to:
determine that a first tuple generated by the first stream operator from the stream of accumulated tuples is derived from the first stream of tuples; and
exclude, in response to the determining, the first tuple from the quantity of output.

### Claim 11 (depends on 7)

The system of claim 7, wherein the stream computing application is further configured to:
adjust the processing of a second stream of tuples by a second operator,
wherein the processing of the second stream of tuples is in response to a second window trigger.

### Claim 12 (depends on 7)

The system of claim 7, wherein the quantity of output is a data size.

### Claim 13

A computer program product for processing a stream of tuples, the computer program product including a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processing circuit to cause the processing circuit to perform a method comprising:
receiving stream of tuples to be processed by a plurality of processing elements operating on one or more processors, each processing element having one or more stream operators;
receiving a first stream of tuples at a first stream operator, the first stream operator being configured to generate a stream of accumulated tuples according to a set of windowing conditions;
processing, by the first stream operator, the stream of accumulated tuples in response to a window trigger,
wherein the processing generates a quantity of output;
monitoring, by at least one processor, the quantity of output;
determining whether the quantity of output exceeds a data output threshold; and
adjusting, in response to determining that the quantity of output exceeds the data output threshold, the processing to reduce the output to approach the data output threshold.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the quantity of output is a number of tuples.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the adjusting further comprises:
determining that a first tuple of the stream of accumulated tuples is from the first stream; and
excluding, in response to the determining, the first tuple from the processing.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein the adjusting further comprises:
determining that a first tuple generated by the first stream operator from the stream of accumulated tuples is derived from the first stream of tuples; and
excluding, in response to the determining, the first tuple from the quantity of output.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein the adjusting further includes adjusting the processing of a second stream of tuples by a second operator,
wherein the processing of the second stream of tuples is in response to a second window trigger.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein the quantity of output is a data size.
