Method for determining load balancing weights using application instance topology information
First Claim
1. A method, in a data processing system, of distributing traffic to application instances on one or more computing devices, comprising:
- obtaining application instance specific operational information identifying operational characteristics of an application instance on a computing device of the one or more computing devices, wherein the application instance specific operational information includes an application instance topology;
comparing the application instance specific operational information to one or more other application instance specific operational information for one or more other application instances based on the application instance specific operational information obtained;
generating a load balancing weight based on a relationship between the application instance specific operational information and the one or more other application instance specific operational information;
attributing weight points to the application instance and the one or more other application instances based on a relative difference between the application instance specific operational information and the one or more other application instance specific operational information;
providing the load balancing weight to a load balancing device;
the load balancing device distributing the traffic to the application instance based on the load balancing weight;
wherein obtaining application instance specific operational information includes retrieving the application instance specific operational information from the application instance using an agent application residing on the computing device, and wherein the agent application identifies the application instance topology by sending a correlation in a request to an agent application associated with a second application instance, wherein application instance information is provided by the agent application associated with the second application; and
wherein the method is implemented in a weight management system that is separate from the computing devices and from the load balancing device.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method for distributing traffic across a group of machines using application instance statistics. In order to perform load balancing in accordance with the present invention, a method of generating weights to bias load balancing distributions is provided. The application instances to which traffic is being distributed, or the application middleware, are instrumented to establish certain metrics about the application while running. The application instance instrumentation will provide application statistics such as number of successful transactions, application response times, application topology, importance of transactions being processed, time the application is blocked waiting for resources, resource consumption data, and the like. These metrics are collected, processed, and then presented as a set of weights to the load balancing apparatus to govern its distribution of traffic. With such application metrics available, traffic can be disbursed based on the current state of the application instances and other application instances in the transaction'"'"'s path, the application instance'"'"'s likelihood to complete the request, or even higher level business-oriented goals.
-
Citations
7 Claims
-
1. A method, in a data processing system, of distributing traffic to application instances on one or more computing devices, comprising:
-
obtaining application instance specific operational information identifying operational characteristics of an application instance on a computing device of the one or more computing devices, wherein the application instance specific operational information includes an application instance topology; comparing the application instance specific operational information to one or more other application instance specific operational information for one or more other application instances based on the application instance specific operational information obtained; generating a load balancing weight based on a relationship between the application instance specific operational information and the one or more other application instance specific operational information; attributing weight points to the application instance and the one or more other application instances based on a relative difference between the application instance specific operational information and the one or more other application instance specific operational information; providing the load balancing weight to a load balancing device; the load balancing device distributing the traffic to the application instance based on the load balancing weight; wherein obtaining application instance specific operational information includes retrieving the application instance specific operational information from the application instance using an agent application residing on the computing device, and wherein the agent application identifies the application instance topology by sending a correlation in a request to an agent application associated with a second application instance, wherein application instance information is provided by the agent application associated with the second application; and wherein the method is implemented in a weight management system that is separate from the computing devices and from the load balancing device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification