Persistent connection rebalancing
First Claim
1. A computer program product comprising a computer readable storage medium having computer readable program instructions embodied therewith for, when executed on a computer system implementing a cluster of servers, wherein each server of within the clusters of servers comprises one or more processors, the computer readable program instructions being executable by the one or more processors to cause the one or more processors to:
- rebalance persistent client connections to the cluster of servers, said rebalancing comprising;
identifying an increase in a total client connection capacity of the cluster of servers, wherein the increase in the total client connection capacity of the cluster of servers is due to one or more new servers being added to the cluster of servers;
determining a target client connection capacity utilization from the increased total client connection capacity of the cluster of servers and the number of persistent connections to the cluster of servers; and
for each server in a selection of servers in the cluster of servers;
determining a current client connection capacity utilization of the server from the number of persistent connections to the server and a current capacity of the server;
comparing the current client connection capacity utilization with the target client connection capacity utilization; and
terminating a selection of its persistent client connections based on its current client connection capacity utilization exceeding the target client connection capacity utilization.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a computer-implemented method of rebalancing persistent client connections to a cluster of servers. The method comprises identifying an increase in a total client connection capacity of the cluster of servers with a network connection balancing component; and for each server in a selection of servers in the cluster of servers calculating a current client connection capacity utilization of the server from the number of persistent connections to the server and the current capacity of the server; comparing the current client connection capacity utilization with the target client connection capacity utilization; and terminating a selection of its persistent client connections by a server based on its current client connection capacity utilization exceeding the target client connection capacity utilization. Also disclosed are a computer program product and a computer system for utilizing the computer-implemented method.
-
Citations
13 Claims
-
1. A computer program product comprising a computer readable storage medium having computer readable program instructions embodied therewith for, when executed on a computer system implementing a cluster of servers, wherein each server of within the clusters of servers comprises one or more processors, the computer readable program instructions being executable by the one or more processors to cause the one or more processors to:
-
rebalance persistent client connections to the cluster of servers, said rebalancing comprising; identifying an increase in a total client connection capacity of the cluster of servers, wherein the increase in the total client connection capacity of the cluster of servers is due to one or more new servers being added to the cluster of servers; determining a target client connection capacity utilization from the increased total client connection capacity of the cluster of servers and the number of persistent connections to the cluster of servers; and for each server in a selection of servers in the cluster of servers; determining a current client connection capacity utilization of the server from the number of persistent connections to the server and a current capacity of the server; comparing the current client connection capacity utilization with the target client connection capacity utilization; and terminating a selection of its persistent client connections based on its current client connection capacity utilization exceeding the target client connection capacity utilization. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 12)
-
-
9. A computer system comprising:
-
one or more processors; one or more memory devices couple to the one or more processors; a cluster of servers listening to a shared IP endpoint and a network balancing component for balancing client connections to a server in the cluster of servers, wherein each server of within the clusters of servers comprises one or more processors; the network balancing component being adapted to rebalance persistent client connections to the cluster of servers, said rebalancing comprising; identifying an increase in a total client connection capacity of the cluster of servers wherein the increase in the total client connection capacity of the cluster of servers is due to one or more new servers being added to the cluster of servers; and determining a target client connection capacity utilization from the increased total client connection capacity of the cluster of servers and the number of persistent connections to the cluster of servers; the computer system further being adapted to, for each server in a selection of servers in the cluster of servers; determine its current client connection capacity utilization from its number of persistent connections and its current capacity; and compare its current client connection capacity utilization with the target client connection capacity utilization; and each server being adapted to terminate a selection of its persistent client connections based on its current client connection capacity utilization exceeding the target client connection capacity utilization. - View Dependent Claims (10, 11, 13)
-
Specification