# US 10,956,182 B2 · Window management based on a set of computing resources in a stream computing environment

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

- Number: US 10,956,182 B2
- Document ID: US10956182B2
- Status: Granted
- Kind: B2
- Application number: 16/658,333
- Filed: 2019-10-21
- Published: 2020-02-13
- Granted: 2021-03-23
- Earliest claimed: 2016-09-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Eric L. Barsness; Daniel E. Beuch; Michael J. Branson; John M. Santosuosso
- Web page: https://patentgrep.com/patent/US10956182B2

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/44: Arrangements for executing specific programs
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed aspects relate to window management in a stream computing environment. A set of computing resources may be detected with respect to the stream computing environment. Based on the set of computing resources, a set of window configurations in the stream computing environment may be determined. In response to determining the set of window configurations in the stream computing environment, the set of window configurations may be established in the stream computing environment.

## Claims

### Claim 1

A computer-implemented method for window management in a stream computing environment, the method comprising:
detecting, with respect to the stream computing environment, a set of computing resources;
determining, based on the set of computing resources, a set of window configurations in the stream computing environment;
establishing, in response to determining the set of window configurations in the stream computing environment, the set of window configurations in the stream computing environment;
monitoring, by a streams management engine, the set of computing resources for an available computing resources change;
sensing, by the streams management engine, the available computing resources change with respect to the set of computing resources; and
modifying, by the streams management engine both based on and in response to sensing the available computing resources change with respect to the set of computing resources, the set of window configurations, wherein modifying the set of window configurations comprises modifying a set of window sizes based on the available computing resources change.

### Claim 2 (depends on 1)

The method of claim 1, further comprising modifying, from a first window configuration to a second window configuration, a window in the stream computing environment.

### Claim 3 (depends on 2)

The method of claim 2, wherein modifying, from the first window configuration to the second window configuration, the window in the stream computing environment includes adjusting, in a dynamic fashion, a window size of the window.

### Claim 4 (depends on 3)

The method of claim 3, further comprising sensing, with respect to the stream computing environment, an increase in a throughput factor.

### Claim 5 (depends on 1)

The method of claim 1, wherein the set of window configurations includes a set of window sizes of a set of windows.

### Claim 6 (depends on 5)

The method of claim 5, further comprising controlling, using the set of window sizes of the set of windows, an operator utilization factor related to the set of computing resources.

### Claim 7 (depends on 1)

The method of claim 1, further comprising sensing a parameter value which indicates a window size is adjustable.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a set of window configuration parameter values; and
determining, using the set of window configuration parameter values, the set of window configurations.

### Claim 9 (depends on 1)

The method of claim 1, wherein establishing the set of window configurations in the stream computing environment dynamically alters a throughput factor.

### Claim 10 (depends on 1)

The method of claim 1, wherein detecting, determining, and establishing occur in an automated fashion without user intervention.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
metering use of the window management; and
generating an invoice based on the metered use.

### Claim 12

A system comprising:
a computer processing unit; and
a system memory comprising computer instructions executable by the computer processing unit to perform a method comprising:
detecting, with respect to a stream computing environment, a set of computing resources;
determining, based on the set of computing resources, a set of window configurations in the stream computing environment; and
establishing, in response to determining the set of window configurations in the stream computing environment, the set of window configurations in the stream computing environment, wherein:
the set of window configurations includes a set of window sizes of a set of windows, wherein establishing the set of window configurations comprises modifying the set of window sizes based on an available amount of the set of computing resources; and
the set of computing resources includes a value for a processor resource, and wherein the set of window sizes includes a bogus millions of instructions per second (BogoMips) value.

### Claim 13 (depends on 12)

The system of claim 12, wherein the method further comprises controlling, based on a set of processor cycles executed by a set of tuples, the set of window sizes of the set of windows.

### Claim 14 (depends on 12)

The system of claim 12, wherein the method further comprises sensing, with respect to the stream computing environment, an increase in a throughput factor.

### Claim 15 (depends on 12)

The system of claim 12, wherein the method further comprises controlling, using the set of window sizes, an operator utilization factor related to the set of computing resources.

### Claim 16 (depends on 12)

The system of claim 12, wherein the method further comprises sensing a parameter value which indicates a window size is adjustable.

### Claim 17 (depends on 12)

The system of claim 12, wherein the method further comprises:
receiving a set of window configuration parameter values; and
determining, using the set of window configuration parameter values, the set of window configurations.

### Claim 18

A computer program product comprising program instructions stored on a computer readable storage medium, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
detecting, with respect to a stream computing environment, a set of computing resources;
determining, based on the set of computing resources, a set of window configurations in the stream computing environment;
establishing, in response to determining the set of window configurations in the stream computing environment, the set of window configurations in the stream computing environment, wherein establishing the set of window configurations comprises modifying a set of window sizes based on an available amount of the computing resources; and
initiating, in response to a triggering event, an eviction operation to evict an item from a window.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the method further comprises triggering event is selected from the group consisting of: achievement of a threshold temporal period, achievement of a threshold computing resource usage, achievement of a threshold tuple count in the window, and achievement of a threshold throughput factor.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein the method further comprises:
calculating, based on an available computing resources change with respect to the set of computing resources, a scaling factor for the stream computing environment; and
scaling, based on the scaling factor for the stream computing environment, the set of window configurations in the stream computing environment.
