# US 9,356,793 B1 · System and method for managing load on a downstream server in a distributed storage system

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

- Number: US 9,356,793 B1
- Document ID: US9356793B1
- Status: Granted
- Kind: B1
- Application number: 13/761,100
- Filed: 2013-02-06
- Granted: 2016-05-31
- Earliest claimed: 2012-02-09
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: Alexandre Drobychev; Alexander Kesselman; George Datuashvili
- Web page: https://patentgrep.com/patent/US9356793B1

## CPC

- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- 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)
- 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

A system, computer-readable storage medium storing at least one program, and a computer-implemented method for managing load on a downstream server in a distributed storage system is presented. Messages received from the downstream server in response to transactions issued by the upstream server to the downstream server are monitored, where the transactions are issued to the downstream server at a rate no greater than a transaction rate limit, the transaction rate limit being based at least in part on a maximum transaction processing rate of the downstream server. The transaction rate limit is adjusted based at least in part on a number of messages that include a pushback signal received over at least one predetermined time interval, where the pushback signal indicates that a utilization rate of the downstream server has exceeded a predetermined utilization rate.

## Claims

### Claim 1

A computer-implemented method for managing load in a distributed storage system, comprising:
at a first instance server in the distributed storage system, the first instance server having memory and at least one processor coupled to the memory:
obtaining a transaction rate limit associated with a second instance server;
issuing a plurality of replication transactions to the second instance server, each replication transaction of the plurality of replication transactions being issued in accordance with a respective object replication policy, wherein the plurality of replication transactions are issued at a rate no greater than the transaction rate limit;
monitoring messages received from the second instance server in response to the plurality of replication transactions; and
adjusting the transaction rate limit based at least in part on a subset of the messages that include a pushback signal received over at least one predetermined time interval, the pushback signal indicating that a utilization rate of the second instance server has exceeded a predetermined utilization rate;
wherein adjusting the transaction rate limit includes:
determining at least one percentage of the messages received over the at least one predetermined time interval that include pushback signals; and
adjusting the transaction rate limit based on the at least one percentage.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one percentage includes a first percentage of the messages received over a first predetermined time interval that include the pushback signal and a second percentage of the messages over a second predetermined time interval that include the pushback signal, wherein adjusting the transaction rate limit based on the at least one percentage includes:
determining that the first percentage is below a first predetermined threshold and that the second percentage is below a second predetermined threshold; and
responsive to the determining, increasing the transaction rate limit.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the transaction rate limit is only increased if a predetermined time period has elapsed since a prior increase to the transaction rate limit.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one percentage includes a first percentage of the messages received over a first predetermined time interval that include the pushback signal and a second percentage of the messages over a second predetermined time interval that include the pushback signal, wherein adjusting the transaction rate limit based on the at least one percentage includes:
determining that the first percentage is above a first predetermined threshold or that the second percentage is above a second predetermined threshold; and
responsive to the determining, decreasing the transaction rate limit.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the first instance server includes a number of processes that are issuing replication transactions to the second instance server, and wherein prior to issuing the plurality of replication transaction to the second instance server, the method includes:
identifying a maximum transaction rate of the second instance server; and
for each process on the first instance server that is issuing replication transactions to the second instance server, setting the transaction rate limit to be the maximum transaction rate of the second instance server divided by the number of processes of the first instance server that are issuing replication transactions to the second instance server.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising repeating the operations of claim 1, wherein a subsequent adjustment of the transaction rate limit occurs at a random time within a predetermined adjustment time interval, and wherein the predetermined adjustment time interval starts a predetermined adjustment time period after a time when a prior adjustment of the transaction rate limit has occurred.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining an average rate that replication transactions are being issued by the first instance server to the second instance server over a first predetermined time interval; and
when the average rate that transactions are being issued by the first instance server to the second instance server is below a predetermined average rate, decreasing the transaction rate limit.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein a respective object replication policy corresponds to an object to be stored by a particular replication transaction and the respective object replication policy specifies at least one of:
the number of object replications to be stored;
the type of data stores to be used for storage of the object replications; and
locations within the distributed storage system where the object replications are to be stored.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the respective object replication policies are each stored in a global configuration file for the distributed storage system.

### Claim 10

A distributed storage system, comprising:
a plurality of instance servers communicatively coupled to one another, each instance server of the plurality of instance servers including one or more respective processors coupled to memory, the plurality of instance servers including a first instance server and a second instance server;
the first instance server configured to:
obtain a transaction rate limit associated with the second instance server;
issue a plurality of replication transactions to the second instance server, each replication transaction of the plurality of replication transactions issued in accordance with a respective object replication policy for the particular replication transaction, wherein the plurality of replication transactions are issued at a rate no greater than the transaction rate limit;
monitor messages received from the second instance server in response to the plurality of replication transactions; and
adjust the transaction rate limit based at least in part on a subset of the messages that include a pushback signal received over at least one predetermined time interval, the pushback signal indicating that a utilization rate of the second instance server has exceeded a predetermined utilization rate;
wherein adjusting the transaction rate limit includes:
determining at least one percentage of the messages received over the at least one predetermined time interval that include pushback signals; and
adjusting the transaction rate limit based on the at least one percentage.

### Claim 11 (depends on 10)

The distributed storage system of claim 10, wherein the at least one percentage includes a first percentage of the messages received over a first predetermined time interval that include the pushback signal and a second percentage of the messages over a second predetermined time interval that include the pushback signal, wherein adjusting the transaction rate limit based on the at least one percentage includes:
determining that the first percentage is below a first predetermined threshold and that the second percentage is below a second predetermined threshold; and
responsive to the determining, increasing the transaction rate limit.

### Claim 12 (depends on 11)

The distributed storage system of claim 11, wherein the transaction rate limit is only increased if a predetermined time period has elapsed since a prior increase to the transaction rate limit.

### Claim 13 (depends on 10)

The distributed storage system of claim 10, wherein the at least one percentage includes a first percentage of the messages received over a first predetermined time interval that include the pushback signal and a second percentage of the messages over a second predetermined time interval that include the pushback signal, wherein adjusting the transaction rate limit based on the at least one percentage includes:
determining that the first percentage is above a first predetermined threshold or that the second percentage is above a second predetermined threshold; and
responsive to the determining, decreasing the transaction rate limit.

### Claim 14 (depends on 10)

The distributed storage system of claim 10, wherein the first instance server includes a number of processes that are issuing replication transactions to the second instance server, and wherein the first instance server is further configured to, prior to issuing the plurality of replication transaction to the second instance server:
identify a maximum transaction rate of the second instance server; and
for each process on the first instance server that is issuing transactions to the second instance server, set the transaction rate limit to be the maximum transaction rate of the second instance server divided by the number of processes of the first instance server that are issuing transactions to the second instance server.

### Claim 15 (depends on 10)

The distributed storage system of claim 10, wherein the first instance server is further configured to repeat the issuing, monitoring, and adjusting of claim 10, wherein a subsequent adjustment of the transaction rate limit occurs at a random time within a predetermined adjustment time interval, and wherein the predetermined adjustment time interval starts a predetermined adjustment time period after a time when a prior adjustment of the transaction rate limit has occurred.

### Claim 16 (depends on 10)

The distributed storage system of claim 10, the first instance server further configured to:
determine an average rate that replication transactions are being issued by the first instance server to the second instance server over a first predetermined time interval; and
when the average rate that transactions are being issued by the first instance server to the second instance server is below a predetermined average rate, decrease the transaction rate limit.

### Claim 17 (depends on 10)

The distributed storage system of claim 10, wherein a respective object replication policy corresponds to an object to be stored by a particular replication transaction and the respective object replication policy specifies at least one of:
the number of object replications to be stored;
the type of data stores to be used for storage of the object replications; and
locations within the distributed storage system where the object replications are to be stored.

### Claim 18 (depends on 10)

The distributed storage system of claim 10, wherein the system includes a global configuration file and the global configuration file includes each respective object replication policy.

### Claim 19

A non-transitory computer readable storage medium storing at least one program configured for execution by at least one processor of a first instance server within a distributed storage system, the at least one program comprising instructions to:
obtain a transaction rate limit associated with a second instance server;
issue a plurality of replication transactions to the second instance server within the distributed storage system, each replication transaction of the plurality of replication transactions issued in accordance with a respective object replication policy for the particular replication transaction, wherein the plurality of replication transactions are issued at a rate no greater than the transaction rate limit;
monitor messages received from the second instance server in response to the plurality of replication transactions; and
adjust the transaction rate limit based at least in part on a subset of the messages that include a pushback signal received over at least one predetermined time interval, the pushback signal indicating that a utilization rate of the second instance server has exceeded a predetermined utilization rate;
wherein adjusting the transaction rate limit includes:
determining at least one percentage of the messages received over the at least one predetermined time interval that include pushback signals; and
adjusting the transaction rate limit based on the at least one percentage.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein the at least one percentage includes a first percentage of the messages received over a first predetermined time interval that include the pushback signal and a second percentage of the messages over a second predetermined time interval that include the pushback signal, wherein adjusting the transaction rate limit based on the at least one percentage includes:
determining that the first percentage is above a first predetermined threshold or that the second percentage is above a second predetermined threshold; and
responsive to the determining, decreasing the transaction rate limit.

### Claim 21 (depends on 19)

The non-transitory computer readable storage medium of claim 19, the at least one program further comprising instructions to:
determine an average rate that replication transactions are being issued by the first instance server to the second instance server over a first predetermined time interval; and
when the average rate that transactions are being issued by the first instance server to the second instance server is below a predetermined average rate, decrease the transaction rate limit.
