# US 2024/0205305 A1 · Dynamic horizontal autoscaling for multi-tenant service

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

- Number: US 2024/0205305 A1
- Document ID: US20240205305A1
- Status: Published application
- Kind: A1
- Application number: 18/066,339
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Rong Fu; Jian Dong Yin; Hao Sheng; Chuan Qing Yu; Wen Wang; Kang Zhang
- Web page: https://patentgrep.com/patent/US20240205305A1

## CPC

- H04L 67/63: Routing a service request depending on the request content or context
- H04L 43/16: Threshold monitoring
- H04L 67/61: taking into account QoS or priority requirements
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments relate to dynamic horizontal autoscaling for a multi-tenant service. According to an aspect, a computer-implemented method includes configuring a network computing element to route a plurality of requests from two or more clients to a service in a containerized-networked system. A horizontal service-level autoscaler monitors one or more aspects of the requests to the service from the two or more clients. A new pod including a set of running containers with shared resources in the containerized-networked system is created based at least in part on the horizontal service-level autoscaler determining that at least one of the one or more aspects of the requests exceeds a threshold. A new service mapping is created to accept subsequent requests from one of the two or more clients that triggered creation of the new pod.

## Claims

### Claim 1

A computer-implemented method comprising:
configuring a network computing element to route a plurality of requests from two or more clients to a service in a containerized-networked system;
monitoring, by a horizontal service-level autoscaler, one or more aspects of the requests to the service from the two or more clients received through the network computing element between the two or more clients and the service;
creating a new pod comprising a set of running containers with shared resources in the containerized-networked system, the creating based at least in part on the horizontal service-level autoscaler determining that at least one of the one or more aspects of the requests exceeds a threshold;
creating a new service mapping to accept subsequent requests from one of the two or more clients that triggered creation of the new pod; and
updating routing rules in the network computing element to map the subsequent requests from the two or more clients using the new service mapping, wherein the new service mapping updates a service-to-pod mapping that is configurable to route the subsequent requests to shared pods and dedicated pods.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more aspects of the requests are checked with respect to a plurality of predefined rules based at least in part on one or more of memory usage and processing resource usage.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
using a label selector to bind a relationship between the new service mapping and the new pod.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising:
updating routing rules in the network computing element to map the two or more clients to two or more variations of the service based at least in part on the new service mapping.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
continuing to perform horizontal scaling at a service level for each new client that accesses the network computing element.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein at least one pod is shared by multiple clients through multiple service mappings.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein one or more pods are dedicated for a single client.

### Claim 8

A system comprising:
a memory; and
a processing device coupled to the memory, the processing device configured to execute instructions to:
configure a network computing element to route a plurality of requests from two or more clients to a service in a containerized-networked system;
monitor, by a horizontal service-level autoscaler, one or more aspects of the requests to the service from the two or more clients received through the network computing element between the two or more clients and the service;
create a new pod comprising a set of running containers with shared resources in the containerized-networked system based at least in part on the horizontal service-level autoscaler determining that at least one of the one or more aspects of the requests exceeds a threshold;
create a new service mapping to accept subsequent requests from one of the two or more clients that triggered creation of the new pod; and
update routing rules in the network computing element to map the subsequent requests from the two or more clients using the new service mapping, wherein the new service mapping updates a service-to-pod mapping that is configurable to route the subsequent requests to shared pods and dedicated pods.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more aspects of the requests are checked with respect to a plurality of predefined rules based at least in part on one or more of memory usage and processing resource usage.

### Claim 10 (depends on 8)

The system of claim 8, wherein the processing device and the memory are further configured to use a label selector to bind a relationship between the new service mapping and the new pod.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processing device and the memory are further configured to update routing rules in the network computing element to map the two or more clients to two or more variations of the service based at least in part on the new service mapping.

### Claim 12 (depends on 8)

The system of claim 8, wherein the processing device and the memory are further configured to continue to perform horizontal scaling at a service level for each new client that accesses the network computing element.

### Claim 13 (depends on 12)

The system of claim 12, wherein at least one pod is shared by multiple clients through multiple service mappings.

### Claim 14 (depends on 13)

The system of claim 13, wherein one or more pods are dedicated for a single client.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
configuring a network computing element to route a plurality of requests from two or more clients to a service in a containerized-networked system;
monitoring, by a horizontal service-level autoscaler, one or more aspects of the requests to the service from the two or more clients received through the network computing element between the two or more clients and the service;
creating a new pod comprising a set of running containers with shared resources in the containerized-networked system, the creating based at least in part on the horizontal service-level autoscaler determining that at least one of the one or more aspects of the requests exceeds a threshold;
creating a new service mapping to accept subsequent requests from the one or more clients that triggered creation of the new pod; and
updating routing rules in the network computing element to map the subsequent requests from the two or more clients using the new service mapping, wherein the new service mapping updates a service-to-pod mapping that is configurable to route the subsequent requests to shared pods and dedicated pods.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the one or more aspects of the requests are checked with respect to a plurality of predefined rules based at least in part on one or more of memory usage and processing resource usage.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
using a label selector to bind a relationship between the new service mapping and the new pod; and
updating routing rules in the network computing element to map the two or more clients to two or more variations of the service based at least in part on the new service mapping.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
continuing to perform horizontal scaling at a service level for each new client that accesses the network computing element.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein at least one pod is shared by multiple clients through multiple service mappings.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein one or more pods are dedicated for a single client.
