Optimizing a load balancer configuration
First Claim
1. A system, comprising:
- one or more computing devices configured to implement a load balancer management system, wherein the load balancer management system is configured to;
change a load balancing algorithm of a load balancer from a least connections load balancing algorithm to a round robin load balancing algorithm in response to initiation of a deployment of one or more services or one or more additional hosts to a service-oriented system, wherein the load balancer is configured to direct a plurality of requests to a plurality of hosts in the service-oriented system based on the load balancing algorithm;
after changing the load balancing algorithm of the load balancer from the least connections load balancing algorithm to the round robin load balancing algorithm,determine, based at least in part on one or more performance metrics for the deployed one or more services or the deployed one or more additional hosts in the service-oriented system, that the deployment of the one or more services or the one or more additional hosts is successful; and
change, in response to the determination that the deployment of the one or more services or the one or more additional hosts is successful, the load balancing algorithm of the load balancer from the round robin load balancing algorithm to the least connections load balancing algorithm for the plurality of hosts in the service-oriented system.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and computer-readable media for optimizing a load balancer configuration are disclosed. A load balancer is configured to perform traffic management for a distributed system. A new component is deployed to the distributed system or a performance deviation is predicted in the distributed system. In response to the initiation of the deployment or the prediction of the performance deviation, the configuration of the load balancer is modified from a first state to a second state. Modifying the configuration of the load balancer modifies the traffic management for the distributed system. If the configuration was changed due to a deployment, the configuration of the load balancer is restored from the second state to the first state after a period of time has elapsed.
90 Citations
19 Claims
-
1. A system, comprising:
one or more computing devices configured to implement a load balancer management system, wherein the load balancer management system is configured to; change a load balancing algorithm of a load balancer from a least connections load balancing algorithm to a round robin load balancing algorithm in response to initiation of a deployment of one or more services or one or more additional hosts to a service-oriented system, wherein the load balancer is configured to direct a plurality of requests to a plurality of hosts in the service-oriented system based on the load balancing algorithm; after changing the load balancing algorithm of the load balancer from the least connections load balancing algorithm to the round robin load balancing algorithm, determine, based at least in part on one or more performance metrics for the deployed one or more services or the deployed one or more additional hosts in the service-oriented system, that the deployment of the one or more services or the one or more additional hosts is successful; and change, in response to the determination that the deployment of the one or more services or the one or more additional hosts is successful, the load balancing algorithm of the load balancer from the round robin load balancing algorithm to the least connections load balancing algorithm for the plurality of hosts in the service-oriented system. - View Dependent Claims (2, 3, 4)
-
5. A method, comprising:
-
initiating deployment of a new component to a distributed system, wherein a load balancer is configured to perform traffic management for the distributed system; in response to initiating the deployment of the new component, modifying a configuration of the load balancer from a first state to a second state, wherein modifying the configuration of the load balancer modifies the traffic management for the distributed system, wherein modifying the configuration of the load balancer from the first state to the second state comprises changing a load balancing algorithm from a least connections algorithm to a round robin algorithm; determining, based at least in part on performance metrics for the deployed new component that indicate performance of the deployed new component, that the deployment of the new component is successful; and restoring, in response to said determining that the deployment of the new component is successful, the configuration of the load balancer from the second state to the first state, wherein restoring the configuration of the load balancer from the second state to the first state comprises changing the load balancing algorithm from the round robin algorithm to the least connections algorithm. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory, computer-readable storage medium storing program instructions computer-executable to perform:
-
collecting one or more performance metrics for one or more hosts of a service-oriented system comprising a plurality of hosts; predicting a performance degradation in the service-oriented system based on the one or more performance metrics for the one or more hosts; changing a load balancing configuration of a load balancer from a first load balancing configuration to a second load balancing configuration in response to the predicting the performance degradation based on the one or more performance metrics for the one or more hosts, wherein changing the load balancing configuration of the load balancer from the first load balancing configuration to the second load balancing configuration comprises changing a load balancing configuration from a least connections configuration to a round robin configuration, and wherein the load balancer is configured to direct a plurality of requests to the plurality of hosts in the service-oriented system based on the load balancing configuration; operating the load balancer based on the second load balancing configuration for a period of time; and restoring, subsequent to determining that the service-oriented system is free of the performance degradation, the configuration of the load balancer to the first state, wherein restoring the configuration of the load balancer to the first state comprises changing the load balancing algorithm to the least connections algorithm. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
Specification