# US 2024/0202039 A1 · Smart web cluster routing

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

- Number: US 2024/0202039 A1
- Document ID: US20240202039A1
- Status: Published application
- Kind: A1
- Application number: 18/082,261
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Yang Peng
- Web page: https://patentgrep.com/patent/US20240202039A1

## CPC

- G06F 9/5044: {considering hardware capabilities}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/63: Routing a service request depending on the request content or context
- G06F 2209/501: Performance criteria
- G06F 2209/503: Resource availability
- 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

The present disclosure relates to computer-implemented methods, software, and systems for distributing task execution at nodes of a web service cluster. A request is sent from an interface gateway to execute a task at a first service node at a web service cluster. The first service node is one of a plurality of service nodes at the web service cluster. The first service node is selected to execute the task based on evaluating a resource status matrix defining resource statuses of the plurality of service nodes in the web service cluster and resource requirements of the task. A status response from the first service node is obtained after executing the task. The status response comprises a current resource snapshot of the first service node. The resource status matrix is updated based on the obtained status response from the first service node.

## Claims

### Claim 1

A computer-implemented method, the method comprising:
receiving, at an interface gateway, a request to distribute a task for processing at a web service cluster;
sending a request to execute the task at a first service node at the web service cluster, wherein the first service node is one of a plurality of service nodes at the web service cluster, and wherein the first service node is selected to execute the task based on evaluating a resource status matrix defining resource statuses of the plurality of service nodes in the web service cluster and resource requirements of the task;
obtaining a status response from the first service node after executing the task, wherein the status response comprises a current resource snapshot of the first service node; and
updating the resource status matrix based on the obtained status response from the first service node.

### Claim 2 (depends on 1)

The method of claim 1, wherein updating the resource status matrix comprises generating an updated resource status matrix for use for subsequent evaluations associated with received requests for distributing tasks for processing at the web service cluster at the interface gateway.

### Claim 3 (depends on 1)

The method of claim 1, wherein the web service cluster provides resources for executing tasks of a set of task types, wherein a task type is associated with a task type criteria comprising corresponding resource requirements for executing a task of the task type at a service node, and wherein the method comprises:
maintaining information for resource requirements for types of tasks that are executable at service node on the web service cluster.

### Claim 4 (depends on 3)

The method of claim 3, the method comprising:
obtaining information for consumed resources by the first service node to execute the task; and
evaluating a first task criteria definition for a task type of the task executed by the first service node to determine whether to adjust the resource requirements for the task.

### Claim 5 (depends on 1)

The method of claim 1, comprising:
determining resource requirements for a plurality of tasks executable by service nodes of the web service cluster, wherein each of the plurality of tasks is associated with resource requirements corresponding to a respective type of the task.

### Claim 6 (depends on 5)

The method of claim 5, wherein the resource requirements for executing a task of a first task type are determined based on evaluating historical data for executed tasks of the first task type at one or more service nodes at the web service cluster.

### Claim 7 (depends on 1)

The method of claim 1, the method comprising:
registering, at the interface gateway, the service nodes of the web service cluster for processing requests received at the interface gateway.

### Claim 8 (depends on 1)

The method of claim 1, the method comprising:
receiving from a first service node a current status snapshot of the first service node.

### Claim 9

A system comprising:
one or more processors; and
one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:
receiving, at an interface gateway, a request to distribute a task for processing at a web service cluster;
sending a request to execute the task at a first service node at the web service cluster, wherein the first service node is one of a plurality of service nodes at the web service cluster, and wherein the first service node is selected to execute the task based on evaluating a resource status matrix defining resource statuses of the plurality of service nodes in the web service cluster and resource requirements of the task;
obtaining a status response from the first service node after executing the task, wherein the status response comprises a current resource snapshot of the first service node; and
updating the resource status matrix based on the obtained status response from the first service node.

### Claim 10 (depends on 9)

The system of claim 9, wherein updating the resource status matrix comprises generating an updated resource status matrix for use for subsequent evaluations associated with received requests for distributing tasks for processing at the web service cluster at the interface gateway.

### Claim 11 (depends on 9)

The system of claim 9, wherein the web service cluster provides resources for executing tasks of a set of task types, wherein a task type is associated with a task type criteria comprising corresponding resource requirements for executing a task of the task type at a service node, and wherein the one or more computer-readable memories store instructions, which when executed on the one or more processors, cause the one or more processors to perform operations comprising:
maintaining information for resource requirements for types of tasks that are executable at service node on the web service cluster.

### Claim 12 (depends on 11)

The system of claim 11, the one or more computer-readable memories store further instructions, which when executed by the one or more processors, cause the one or more processors to perform operations comprising:
obtaining information for consumed resources by the first service node to execute the task; and
evaluating a first task criteria definition for a task type of the task executed by the first service node to determine whether to adjust the resource requirements for the task.

### Claim 13 (depends on 9)

The system of claim 9, the one or more computer-readable memories store further instructions, which when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining resource requirements for a plurality of tasks executable by service nodes of the web service cluster, wherein each of the plurality of tasks is associated with resource requirements corresponding to a respective type of the task.

### Claim 14 (depends on 13)

The system of claim 13, wherein the resource requirements for executing a task of a first task type are determined based on evaluating historical data for executed tasks of the first task type at one or more service nodes at the web service cluster.

### Claim 15

A non-transitory, computer-readable medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving, at an interface gateway, a request to distribute a task for processing at a web service cluster;
sending a request to execute the task at a first service node at the web service cluster, wherein the first service node is one of a plurality of service nodes at the web service cluster, and wherein the first service node is selected to execute the task based on evaluating a resource status matrix defining resource statuses of the plurality of service nodes in the web service cluster and resource requirements of the task;
obtaining a status response from the first service node after executing the task, wherein the status response comprises a current resource snapshot of the first service node; and
updating the resource status matrix based on the obtained status response from the first service node.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein updating the resource status matrix comprises generating an updated resource status matrix for use for subsequent evaluations associated with received requests for distributing tasks for processing at the web service cluster at the interface gateway.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the web service cluster provides resources for executing tasks of a set of task types, wherein a task type is associated with a task type criteria comprising corresponding resource requirements for executing a task of the task type at a service node, and wherein the computer-readable medium stores instructions, which when executed on the one or more processors, cause the one or more processors to perform operations comprising:
maintaining information for resource requirements for types of tasks that are executable at service node on the web service cluster.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the computer-readable medium stores instructions, which when executed on the one or more processors, cause the one or more processors to perform operations comprising:
obtaining information for consumed resources by the first service node to execute the task; and
evaluating a first task criteria definition for a task type of the task executed by the first service node to determine whether to adjust the resource requirements for the task.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the computer-readable medium stores instructions, which when executed on the one or more processors, cause the one or more processors to perform operations comprising:
determining resource requirements for a plurality of tasks executable by service nodes of the web service cluster, wherein each of the plurality of tasks is associated with resource requirements corresponding to a respective type of the task.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the resource requirements for executing a task of a first task type are determined based on evaluating historical data for executed tasks of the first task type at one or more service nodes at the web service cluster.
