# US 2026/0246829 A1 · Layered ingress sharding

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

- Number: US 2026/0246829 A1
- Document ID: US20260246829A1
- Status: Published application
- Kind: A1
- Application number: 19/059,232
- Filed: 2025-02-20
- Published: 2026-08-20
- Earliest claimed: 2025-02-20
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Suresh Chandra PIPPARI; Abhishek K. TIWARI; Varun CHAWLA; Karthik UTHAMAN; Ashok Kumar NANDOORI; Matthew David DEVUYST
- Web page: https://patentgrep.com/patent/US20260246829A1

## CPC

- G06F 9/5061: {Partitioning or combining of resources}
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- G06F 9/5072: {Grid computing}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- H04L 67/1029: using data related to the state of servers by a load balancer
- G06F 2209/505: Clust
- 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

Layered ingress sharding for multi-tenant services outperforms current sharding techniques, to enhance the reliability and scalability of services. A sharding controller assigns clients and service instances to shards in each of multiple layers. Assignments differ among the layers, at least for clients and may also for service instances. This minimizes adverse effects on clients assigned to a shard with a noisy neighbor, because there are other layers (with a high probability) in which they are not sharing a shard with that noisy neighbor. The sharding controller monitors service instance health and available capacity, which indicates shard health and capacity. Client requests are routed to healthy shards, where retries will eventually find a healthy service instance or, in some examples, requests are routed directly to healthy service instances, eliminating the need for a retry.

## Claims

### Claim 1

A system comprising:
a processor; and
a computer-readable medium storing instructions that are operative upon execution by the processor to:
assign, by a sharding controller, within each layer of a plurality of layers, two or more service instances of a plurality of service instances to each shard of a plurality of shards, wherein each layer of the plurality of layers has a separate plurality of shards;
assign, within each layer, each client of a plurality of clients to one or more shards of the plurality of shards within that layer, wherein assignments of clients to shards differs for each separate plurality of shards across the plurality of layers;
monitor a health of each service instance within each shard of the pluralities of shards;
based on at least the monitoring of the service instances, identify healthy shards of the pluralities of shards;
receive a first request from a first client of the plurality of clients; and
route the first request to a first healthy shard assigned to the first client.

### Claim 2 (depends on 1)

The system of claim 1, wherein the instructions are further operative to:
process the first request within the first healthy shard; and
transmit, to the first client, a result of processing the first request.

### Claim 3 (depends on 1)

The system of claim 1, wherein the instructions are further operative to:
monitor an available capacity of each healthy service instance, wherein routing the first request to the first healthy shard comprises:
identifying a first healthy service instance in the first healthy shard;
identifying a second healthy service instance;
determining that the first healthy service instance has a higher available capacity than an available capacity of the second healthy service instance; and
based on at least determining that the first healthy service instance has a higher available capacity, routing the first request to the first healthy service instance.

### Claim 4 (depends on 1)

The system of claim 1, wherein the instructions are further operative to:
monitor an available capacity of each healthy shard, wherein routing the first request to the first healthy shard comprises:
determining that the first healthy shard has a higher available capacity than an available capacity of a second healthy shard assigned to the first client, wherein routing the first request to the first healthy shard is based on determining that the first healthy shard has a higher available capacity.

### Claim 5 (depends on 1)

The system of claim 1,
wherein a common sharding controller assigns and monitors the service instances within each layer;
wherein the common sharding controller assigns the clients to the shards within each layer; and
wherein the common sharding controller routes the first request.

### Claim 6 (depends on 1)

The system of claim 1,
wherein each layer of the plurality of layers has a sharding controller that assigns and monitors the service instances within the layer;
wherein a first sharding controller within a first layer routes the first request to the first healthy shard if the first healthy shard is within the first layer; and
wherein a second sharding controller within a second layer routes the first request to the first healthy shard if the first healthy shard is within the second layer.

### Claim 7 (depends on 1)

The system of claim 1, wherein identifying healthy shards comprises:
identifying healthy service instances of the plurality of service instances, wherein a service instance is healthy if the service instance meets responsiveness criteria, wherein a service instance is not healthy if the service instance is not able to meet the responsiveness criteria, wherein a shard is healthy if the shard has at least one healthy service instance, and wherein a shard is not healthy if the shard does not have at least one healthy service instance.

### Claim 8

A computer-implemented method comprising:
assigning, by a sharding controller, within each layer of a plurality of layers, two or more service instances of a plurality of service instances to each shard of a plurality of shards, wherein each layer of the plurality of layers has a separate plurality of shards;
assigning, within each layer, each client of a plurality of clients to one or more shards of the plurality of shards within that layer, wherein assignments of clients to shards differs for each separate plurality of shards across the plurality of layers;
monitoring a health of each service instance within each shard of the pluralities of shards;
based on at least the monitoring of the service instances, identifying healthy shards of the pluralities of shards;
receiving a first request from a first client of the plurality of clients; and
routing the first request to a first healthy shard assigned to the first client.

### Claim 9 (depends on 8)

The computerized method of claim 8, further comprising:
processing the first request within the first healthy shard; and
transmitting, to the first client, a result of processing the first request.

### Claim 10 (depends on 8)

The computerized method of claim 8, further comprising:
monitoring an available capacity of each healthy service instance, wherein routing the first request to the first healthy shard comprises:
identifying a first healthy service instance in the first healthy shard;
identifying a second healthy service instance;
determining that the first healthy service instance has a higher available capacity than an available capacity of the second healthy service instance; and
based on at least determining that the first healthy service instance has a higher available capacity, routing the first request to the first healthy service instance.

### Claim 11 (depends on 8)

The computerized method of claim 8, further comprising:
monitoring an available capacity of each healthy shard, wherein routing the first request to the first healthy shard comprises:
determining that the first healthy shard has a higher available capacity than an available capacity of a second healthy shard assigned to the first client, wherein routing the first request to the first healthy shard is based on determining that the first healthy shard has a higher available capacity.

### Claim 12 (depends on 8)

The computerized method of claim 8,
wherein a common sharding controller assigns and monitors the service instances within each layer;
wherein the common sharding controller assigns the clients to the shards within each layer; and
wherein the common sharding controller routes the first request.

### Claim 13 (depends on 8)

The computerized method of claim 8,
wherein each layer of the plurality of layers has a sharding controller that assigns and monitors the service instances within the layer;
wherein a first sharding controller within a first layer routes the first request to the first healthy shard if the first healthy shard is within the first layer; and
wherein a second sharding controller within a second layer routes the first request to the first healthy shard if the first healthy shard is within the second layer.

### Claim 14 (depends on 8)

The computerized method of claim 8, wherein identifying healthy shards comprises:
identifying healthy service instances of the plurality of service instances, wherein a service instance is healthy if the service instance meets responsiveness criteria, wherein a service instance is not healthy if the service instance is not able to meet the responsiveness criteria, wherein a shard is healthy if the shard has at least one healthy service instance, and wherein a shard is not healthy if the shard does not have at least one healthy service instance.

### Claim 15

A computer storage device having computer-executable instructions stored thereon, which, on execution by a computer, cause the computer to perform operations comprising:
assigning, by a sharding controller, within each layer of a plurality of layers, two or more service instances of a plurality of service instances to each shard of a plurality of shards, wherein each layer of the plurality of layers has a separate plurality of shards;
assigning, within each layer, each client of a plurality of clients to one or more shards of the plurality of shards within that layer, wherein assignments of clients to shards differs for each separate plurality of shards across the plurality of layers;
monitoring a health of each service instance within each shard of the pluralities of shards;
based on at least the monitoring of the service instances, identifying healthy shards of the pluralities of shards;
receiving a first request from a first client of the plurality of clients; and
routing the first request to a first healthy shard assigned to the first client.

### Claim 16 (depends on 15)

The computer storage device of claim 15, wherein the operations further comprise:
processing the first request within the first healthy shard; and
transmitting, to the first client, a result of processing the first request.

### Claim 17 (depends on 15)

The computer storage device of claim 15, wherein the operations further comprise:
monitoring an available capacity of each healthy service instance, wherein routing the first request to the first healthy shard comprises:
identifying a first healthy service instance in the first healthy shard;
identifying a second healthy service instance;
determining that the first healthy service instance has a higher available capacity than an available capacity of the second healthy service instance; and
based on at least determining that the first healthy service instance has a higher available capacity, routing the first request to the first healthy service instance.

### Claim 18 (depends on 15)

The computer storage device of claim 15, wherein the operations further comprise:
monitoring an available capacity of each healthy shard, wherein routing the first request to the first healthy shard comprises:
determining that the first healthy shard has a higher available capacity than an available capacity of a second healthy shard assigned to the first client, wherein routing the first request to the first healthy shard is based on determining that the first healthy shard has a higher available capacity.

### Claim 19 (depends on 15)

The computer storage device of claim 15,
wherein a common sharding controller assigns and monitors the service instances within each layer;
wherein the common sharding controller assigns the clients to the shards within each layer; and
wherein the common sharding controller routes the first request.

### Claim 20 (depends on 15)

The computer storage device of claim 15,
wherein each layer of the plurality of layers has a sharding controller that assigns and monitors the service instances within the layer;
wherein a first sharding controller within a first layer routes the first request to the first healthy shard if the first healthy shard is within the first layer; and
wherein a second sharding controller within a second layer routes the first request to the first healthy shard if the first healthy shard is within the second layer.
