# US 2021/0176333 A1 · Controlling transaction requests between applications and servers

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

- Number: US 2021/0176333 A1
- Document ID: US20210176333A1
- Status: Published application
- Kind: A1
- Application number: 16/708,575
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew John Coleman; John Anthony Reeve; Trevor Clifford Dolby; Matthew E. Golby-Kirk
- Web page: https://patentgrep.com/patent/US20210176333A1

## CPC

- G06F 16/2308: {Concurrency control (transaction processing G06F9/466)}
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06F 9/54: Interprogram communication
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/562: Brokering proxy services
- G06F 2209/547: Messaging middleware
- G06F 2209/548: Queue
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Concepts for controlling transaction requests delivered between applications and servers via a decentralized architecture. In such concepts, the delivery of transaction requests is controlled in consideration of information regarding groups of transaction requests that may cause transaction collisions if processed in parallel. Such groupings of transaction request may be defined, modified and updated at run-time, based on previous or current observed transaction collisions.

## Claims

### Claim 1

A middleware computer system for controlling transaction requests between applications and servers, the middleware system comprising:
a broker component configured to, at runtime:
define one or more collision groups of transaction requests based on previous or current observed transaction collisions; and
control delivery of transaction requests in parallel based on the one or more collision groups,
wherein the broker component comprises a receiver component configured to receive information about at least one of:
observed transaction collisions; and
further collision groups of transaction requests from a remote component, and wherein the broker component is configured to, at runtime, define one or more collision groups of transaction requests further based on the received information.

### Claim 2 (depends on 1)

The middleware computer system of claim 1, wherein each of the one or more collision groups defines a plurality of transaction requests that if delivered in parallel will result in a transaction collision.

### Claim 3 (depends on 1)

The middleware computer system of claim 1, wherein the broker component comprises a publisher component configured to communicate information about the one or more collision groups to one or more remote components.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The middleware computer system of claim 1, wherein the broker component is configured to, responsive to identifying a plurality of transaction requests that are members of the same collision group of the one or more collision groups, queue the plurality of transaction requests to prevent parallel delivery of the plurality of transaction requests.

### Claim 6 (depends on 5)

The middleware computer system of claim 5, wherein the broker component is configured to queue the plurality of transaction requests in a first-in first-out order.

### Claim 7 (depends on 1)

The middleware computer system of claim 1, Wherein the broker component is configured to, responsive to identifying a transaction collision resulting from delivery of a transaction request, redefine the one or more collision groups of transaction requests based on the identified transaction collision and control redelivery of the transaction request based on the redefined one or more collision groups.

### Claim 8 (depends on 1)

The middleware computer system of claim 1, wherein the middleware system is configured to intercept and control delivery of transaction requests between a client application and a Multi-Version Concurrency Control, MVCC, constrained server.

### Claim 9

A processor-implemented method for controlling transaction requests between applications and servers, the method comprising:
defining, at runtime, one or more collision groups of transaction requests based on previous or current observed transaction collisions;
controlling delivery of transaction requests in parallel based on the one or more collision groups; and
receiving information about at least one of: observed transaction collisions; and further collision groups of transaction requests from a remote component,
wherein defining one or more collision groups of transaction requests is further based on the received information.

### Claim 10 (depends on 9)

The method of claim 9, wherein each of the one or more collision groups defines a plurality of transaction requests that if delivered in parallel will result in a transaction collision.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
communicating information about the one or more collision groups to one or more remote components.

### Claim 12

(canceled)

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
responsive to identifying a plurality of transaction requests that are members of the same collision group of the one or more collision groups, queuing the plurality of transaction requests to prevent parallel delivery of the plurality of transaction requests.

### Claim 14 (depends on 13)

The method of claim 13, wherein queuing the plurality of transaction requests comprises queuing the plurality of transaction requests in a first-in first-out order.

### Claim 15 (depends on 9)

The method of claim 9; further comprising:
responsive to identifying a transaction collision resulting from delivery of a transaction request, redefining the one or more collision groups of transaction requests based on the identified, transaction collision; and
controlling redelivery of the transaction request based on the redefined one or more collision groups.

### Claim 16 (depends on 9)

The method of claim 9, wherein the method is configured to intercept and control delivery of transaction requests between a client application and a Multi-Version Concurrency Control (MVCC) constrained server.

### Claim 17

A computer program product comprising a computer-readable tangible storage medium having program instructions embodied therewith, the program instructions executable by a processing unit to cause the processing unit to perform, when run on a computer network, a method for controlling transaction requests between applications and servers, wherein the method comprises the steps of:
at runtime: defining, by a broker component, one or more collision groups of transaction requests based on previous or current observed transaction collisions; and
controlling delivery of transaction requests in parallel based on the one or more collision groups,
wherein the broker component comprises a receiver component configured to receive information about at least one of:
observed transaction collisions; and
further collision groups of transaction requests from a remote component, and wherein the broker component is configured to, at runtime, define one or more collision groups of transaction requests further based on the received information.

### Claim 18 (depends on 17)

A computer system comprising at least one processor and the computer program product of claim 17, wherein the at least one processor is adapted to execute the computer program code of said computer program product.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein each of the one or more collision groups defines a plurality of transaction requests that if delivered in parallel will result in a transaction collision.

### Claim 20 (depends on 17)

The computer program product of claim 17, further comprising:
communicating information about the one or more collision groups to one or more remote components.
