# US 2026/0089209 A1 · Rebalancing Caching Layer for Distributed Database System

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

- Number: US 2026/0089209 A1
- Document ID: US20260089209A1
- Status: Published application
- Kind: A1
- Application number: 18/894,158
- Filed: 2024-09-24
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Charan Reddy Guttapalem; Venkateswararao Jujjuri; Senthilkumar Narayanasamy; Sushanth Rai; Feilong Song
- Web page: https://patentgrep.com/patent/US20260089209A1

## CPC

- H04L 67/1031: Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 16/24552: {Database cache management}
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed for dynamically rebalancing a caching layer within a distributed database system hosted across a distributed computing environment. In some embodiments, a system that includes a plurality of physical nodes implementing a hosting service deploys containers that serve as caching nodes for the distributed database system. Each container is configured to store cached data within a memory internal to its respective physical node. The system monitors the storage utilization and read/write activity across the caching containers, and based on this monitoring, redistributes data to balance the load across the cluster. Rebalancing can include identifying underutilized and overutilized containers, retrieving subsets of data from overworked containers from persistent storage, and storing the data in underutilized containers.

## Claims

### Claim 1

A non-transitory computer-readable medium having program instructions stored thereon that are capable of causing a distributed computing system that includes a plurality of physical nodes implementing a hosting service to perform operations comprising:
deploying, to one or more of the physical nodes, a set of containers that implement a cache for a distributed database system hosted by the hosting service, wherein the set of containers are executable to store the cache in a memory internal to the one or more physical nodes;
determining a storage utilization for the set of containers; and
based on the determined storage utilization, redistributing data cached by a first of the containers to a second of the containers.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
determining a first storage utilization for the first container and a second storage utilization for the second container, wherein the data is redistributed based on a difference between the first storage utilization and the second storage utilization.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the operations further comprise:
determining an average utilization for the set of containers; and
determining if the first storage utilization exceeds the average utilization.

### Claim 4 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the operations further comprise:
in response to determining that the first storage utilization does not exceed the average utilization:
identifying, via a metadata server, an overutilized container within the set of containers, wherein the overutilized container has a third storage utilization that exceeds the average utilization;
retrieving, from a persistent storage, a subset of data cached by the overutilized container; and
storing the subset of data in a cache of the first container.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the operations further comprise:
deleting the subset of data from a cache of the overutilized container.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the redistributed data cached by the first of the containers to the second of the containers comprises a set of data extents, wherein the set of data extents comprises a set of data fragments.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
electing an auditor from the set of containers, wherein the auditor determines an average utilization for the set of containers.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
determining whether an average utilization for the set of containers satisfies a threshold; and
in response to determining that the average utilization satisfies the threshold, adding additional containers to the set of containers.

### Claim 9 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
determining whether an average utilization for the set of containers satisfies a threshold; and
in response to determining that the average utilization satisfies the threshold, removing one or more containers from the set of containers.

### Claim 10

A non-transitory computer-readable medium having program instructions stored thereon that are capable of causing a distributed computing system that includes a plurality of physical nodes implementing a hosting service to perform operations comprising:
storing, by a first container deployed to one of the physical nodes, first data in a first cache for a distributed database system, wherein the cache is maintained in a memory internal to the physical node;
receiving, by the first container, a storage utilization associated with a second container maintaining a second cache for the distributed database system; and
redistributing, based on the received storage utilization, second data from the second cache of the second container to the first cache of the first container.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the operations further comprise:
sending, by the first container, a first storage utilization to a metadata server, wherein the received storage utilization is an average utilization determined based on the first storage utilization and a second storage utilization associated with the second container.

### Claim 12 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the operations further comprise:
reporting, by the first container, a request rate indicating a frequency the first container receives read and write requests, wherein the redistributing second data is further based on the request rate.

### Claim 13 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the operations further comprise:
participating in an election to determine an auditor within the set of containers, wherein the auditor provides an average storage utilization, wherein the average storage utilization is the received storage utilization.

### Claim 14

A computer-implemented method, comprising:
receiving, via a metadata server, storage utilizations associated with a plurality of containers deployed to a plurality of physical nodes implementing a hosting service that hosts a distributed database system, wherein the plurality of containers implement a cache for the distributed database system;
determining an average storage utilization for the plurality of containers, wherein the average storage utilization is based on the storage utilizations for the plurality of containers; and
providing a report to the metadata server, wherein the report includes the average storage utilization and wherein the report is accessible to the plurality of containers to redistribute data among the plurality of containers.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
determining an average access frequency associated with the plurality of containers, wherein the report includes the average access frequency.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein the computer-implemented method is performed by one of the plurality of containers.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the one container is elected from among the plurality of containers.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, wherein the average storage utilization is based on the data cached by the plurality of containers.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, further comprising:
determining whether the average storage utilization for the plurality of containers satisfies a threshold; and
in response to determining that the average storage utilization satisfies the threshold, changing the number of containers within the plurality of containers.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein a first container within the plurality of containers is deployed to a first physical node located in a first area zone and a second container within the plurality of containers is deployed to a second physical node located in a second area zone, wherein the first area zone and the second area zone are in different geographical locations.
