# US 10,958,590 B2 · Dynamic resizing of webserver connection pool size

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

- Number: US 10,958,590 B2
- Document ID: US10958590B2
- Status: Granted
- Kind: B2
- Application number: 16/408,174
- Filed: 2019-05-09
- Published: 2020-11-12
- Granted: 2021-03-23
- Earliest claimed: 2019-05-09
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Mayur Jain; Nikhil Siddhartha
- Web page: https://patentgrep.com/patent/US10958590B2

## CPC

- H04L 47/76: using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L 41/0286: {for search or classification or discovery of web services providing management functionalities}
- H04L 41/0843: {based on generic templates}
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 41/147: for predicting network behaviour
- H04L 41/149: for prediction of maintenance
- H04L 41/22: comprising specially adapted graphical user interfaces [GUI]
- H04L 43/067: using time frame reporting
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- H04L 43/0882: Utilisation of link capacity
- H04L 47/781: {Centralised allocation of resources}
- H04L 47/822: {Collecting or measuring resource availability data}
- H04L 47/826: {Involving periods of time}
- H04L 47/83: based on usage prediction
- H04L 49/9005: using dynamic buffer space allocation
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure relates to systems, non-transitory computer-readable media, and methods for dynamically updating the connection pool for a web server without any interruption to the resource. In particular, in one or more embodiments, the disclosed systems can continuously monitor load data for various web servers. Further, the disclosed systems can utilize load data, historical load data, and/or user settings to predict a number of connections over a future time period and can determine an updated connection pool size for a web server based on that predicted number of connections. The disclosed systems can also dynamically modify the connection pool size for the web server based on the updated connection pool size without interrupting the resource or any of its ongoing connections in any way.

## Claims

### Claim 1

A non-transitory computer readable medium storing instructions thereon that, when executed by at least one processor, cause one or more computing devices to:
determine a number of allocated connections and a corresponding allocated memory for a web server, wherein the number of allocated connections comprises a number of possible connections available to the web server based on the allocated memory;
identify an increase in a number of ongoing connections for the web server over a first time period;
determine, based on historical request trends and the identified increase, a predicted number of connections over a second time period;
determine that the predicted number of connections exceeds a predetermined threshold relative to the number of allocated connections for the web server; and
dynamically increase, based on the predicted number of connections exceeding the predetermined threshold, the number of allocated connections and the corresponding allocated memory for the web server without restarting the web server.

### Claim 2 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions when executed by at least one processor, cause the one or more computing devices to dynamically increase the number of allocated connections and the corresponding allocated memory for the web server by:
allocating additional memory for new connections;
copying ongoing connections to the new connections;
de-allocating memory previously utilized for the ongoing connections; and
initialize new unused connections.

### Claim 3 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions when executed by at least one processor, cause the one or more computing devices to dynamically increase the number of allocated connections for the web server by dynamically altering a number of allocated connections indicated in non-persistent memory of the web server.

### Claim 4 (depends on 3)

The non-transitory computer readable medium of claim 3, wherein the instructions when executed by at least one processor, cause the one or more computing devices to dynamically increase the number of allocated connections for the web server without altering a number of allocated connections stored in persistent memory of the web server.

### Claim 5 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the one or more computing devices to determine, based at least on the number of ongoing connections for the web server and historical load data, an updated number of connections for the web server.

### Claim 6 (depends on 5)

The non-transitory computer readable medium of claim 5, wherein the instructions when executed by at least one processor, cause the one or more computing devices to dynamically increase the number of allocated connections for the web server by sending the updated number of connections to the web server along with a trigger to increase the number of allocated connections for the web server to the updated number of connections.

### Claim 7 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the one or more computing devices to identify the increase in a number of ongoing connections for the web server over a first time period by receiving, from a scheduler at the web server, a number of ongoing connections or requests for connections.

### Claim 8 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the one or more computing devices to:
receive, via a graphical user interface, one or more user settings; and
determine, based on the one or more user settings, the predetermined threshold.

### Claim 9

A system comprising:
at least one web server;
at least one application server;
at least one processor; and
at least one non-transitory computer-readable storage medium storing instructions thereon that, when executed by the at least one processor, cause the system to:
monitor, at the at least one web server, a number of ongoing connections and a corresponding allocated memory for the at least one web server, wherein a number of allocated connections comprises a number of possible connections available to the web server based on the allocated memory;
determine, based on historical request trends and the monitored number of ongoing connections, a predicted number of connections;
determine that the predicted number of connections exceeds a predetermined threshold relative to the number of allocated connections for the at least one web server; and
dynamically increase the number of allocated connections and the corresponding allocated memory for the at least one web server by initializing a set of new connections and copying the ongoing connections to new connections of the set of new connections.

### Claim 10 (depends on 9)

The system of claim 9, wherein the instructions, when executed by the at least one processor, cause the system to dynamically increase the number of allocated connections automatically in response to an increase in the number of ongoing connections.

### Claim 11 (depends on 9)

The system of claim 9, wherein the instructions, when executed by the at least one processor, cause the system to monitor the number of ongoing connections for the at least one web server by:
determining the number of ongoing connections repeatedly at a first time interval;
determining a high number of ongoing connections during a second time interval from the numbers of ongoing connections determined at the first time interval, the second time interval being longer than the first time interval; and
reporting the high number of ongoing connections repeatedly at the second time interval for use in determining the predicted number of connections.

### Claim 12 (depends on 11)

The system of claim 11, further comprising instructions that, when executed by the at least one processor, cause the system to:
determine that a first number of ongoing connections determined at the first time interval is within a predetermined percentage of the number of allocated connections for the at least one web server; and
report the first number of ongoing connections prior to the second time interval for use in determining the predicted number of connections.

### Claim 13 (depends on 11)

The system of claim 11, wherein reporting the high number of ongoing connections comprises sending, by a scheduler at the at least one server, the high number of ongoing connections to the at least one application server.

### Claim 14 (depends on 11)

The system of claim 11, further comprising instructions that, when executed by the at least one processor, further cause the system to detect a change in the health of the at least one web server, and wherein the predicted number of connections over the second time interval is further based on the change in the health of the at least one web server.

### Claim 15 (depends on 9)

The system of claim 9, wherein the instructions, when executed by the at least one processor, cause the system to dynamically increase the number of allocated connections for the at least one web server without restarting the at least one web server or interrupting the ongoing connections.

### Claim 16 (depends on 9)

The system of claim 9, wherein the instructions when executed by at least one processor, cause the system to dynamically increase the number of allocated connections for the at least one web server by sending, from the at least one application server, an updated number of connections to the at least one web server along with a trigger to increase the number of allocated connections to the updated number of connections.

### Claim 17

A method comprising:
determining a number of allocated connections for a web server;
detecting an increase in a number of ongoing connections for the web server over a first time period;
determining, based on historical request trends and the detected increase, a predicted number of connections over a second time period;
determining that the predicted number of connections exceeds a predetermined threshold relative to the number of allocated connections for the web server; and
performing a step for dynamically increasing the number of allocated connections for the web server.

### Claim 18 (depends on 17)

The method of claim 17, further comprising determining, based at least on the number of ongoing connections for the web server and historical load data, an updated number of connections for the web server.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
receiving, via a graphical user interface, one or more user settings; and
determining, based on the one or more user settings, the predetermined threshold.

### Claim 20 (depends on 17)

The method of claim 17, wherein the predetermined threshold relative to the number of allocated connections for the web server is a predetermined threshold for a difference between the number of allocated connections and the predicted number of connections over the second time period.
