Systems and methods for load balancing using predictive routing

Information

  • Patent Grant
  • 10652318
  • Patent Number
    10,652,318
  • Date Filed
    Monday, August 13, 2012
    12 years ago
  • Date Issued
    Tuesday, May 12, 2020
    4 years ago
  • CPC
  • Field of Search
    • US
    • 709 224000
    • 709 226000
    • 709 223000
    • 709 203000
    • 709 217000
    • CPC
    • H04L67/1002
    • H04L67/02
    • H04L67/1008
    • H04L67/101
    • H04L67/1021
    • H04L67/28
    • H04L67/1023
    • H04L67/1029
    • H04L47/122
    • H04L47/125
    • H04L47/127
    • H04L61/1511
    • H04L45/00
    • H04L67/1012
    • H04L67/1019
    • H04L29/12066
    • H04L45/123
    • H04L47/10
    • H04L65/80
    • H04L67/1017
    • H04L67/327
    • H04L67/42
    • H04L12/2869
    • H04L12/287
    • H04L1/0018
    • H04L1/1685
    • H04L29/06
    • H04L29/08144
    • H04L29/12811
    • H04L41/14
    • H04L41/147
    • H04L43/0829
    • H04L43/0864
    • H04L43/10
    • H04L43/12
    • H04L45/02
    • H04L45/12
    • H04L45/122
    • H04L45/18
    • H04L45/22
    • H04L45/24
    • H04L45/28
    • H04L45/302
    • H04L45/306
    • H04L45/44
    • H04L47/14
    • H04L47/25
    • H04L47/283
    • H04L47/70
    • H04L47/76
    • H04L47/781
    • H04L47/823
    • H04L47/826
    • H04L49/25
    • H04L49/3009
    • H04L61/6009
    • H04L65/1006
    • H04L65/1073
    • H04L67/10
    • H04L67/1034
    • H04L67/1036
    • H04L67/1038
    • H04L67/14
    • H04L67/16
    • H04L67/18
    • H04L67/2814
    • H04L67/2842
    • H04L67/289
    • H04L69/40
    • G06F17/30867
    • G06F9/505
    • G06F9/5077
    • G06F9/5083
    • G06F2209/5019
    • G06F2209/5022
    • G06F2209/508
    • G06F9/06
    • G06F9/50
    • G06F9/5088
    • H04W40/02
    • H04W40/10
    • H04W40/12
    • H04W40/18
    • H04W40/246
    • H04W40/248
    • H04W40/28
    • H04W40/30
    • H04W84/18
    • H04W28/26
    • H04W40/06
    • H04W40/08
    • H04W40/20
    • H04W40/22
    • H04W40/26
    • G06Q10/00
    • G06Q50/18
  • International Classifications
    • H04L29/08
    • H04L29/12
    • Term Extension
      379
Abstract
Systems and methods are disclosed for routing requests for information based on predictive data. The systems and methods may receive measurement data indicative of states of each of a plurality of destination servers, and generate predicted measurement data values for each of the plurality of destination servers based on the retrieved measurement data. The predicted measurement data values may represent predicted states of each of the destination servers at a time later than a time corresponding to the received measurement data. The systems and methods may also receive requests for information from a client computer, and route the received requests for information to one of the plurality of destination servers based on the predicted measurement data value.
Description
TECHNICAL FIELD

This disclosure is generally directed to systems and methods for load balancing using predictive routing. More specifically, this disclosure is directed to systems and methods for routing requests for information based on a prediction of a future state of one or more destination servers.


BACKGROUND

Companies often employ multiple destination servers on a network, each equally capable of responding to requests for information. Generally, a load balancer on the network may route such requests for information to one of these destination servers on the network based on any number of considerations. For example, if a client computer makes a request for information to which each of the destination servers on the network are capable of responding, the load balancer may route the request to the destination server that the load balancer considers to have the most availability.


The load balancer may receive measurements about the destination servers and determine how to route the requests based on these measurements. For example, probes distributed across the network may gather measurements about states at each destination server such as the traffic load, CPU load, response time, etc., and may send these measurements to the load balancer at regular intervals. The load balancer may then use these measurements to determine where to route requests for information.


Various delays inherent in the network, however, may cause these measurements to be stale by the time they are used by the load balancer. That is, the probe measurements (e.g., traffic load, CPU load, response time, etc.) may not accurately represent the present state of each of the destination servers, but instead may represent some past state that has changed since it was measured by the probe. For example, the measurements used by the load balancer may become stale due to the time between measurement intervals, the time it takes to propagate the measurement data from the destination server to the probe and from the probe to the load balancer, or any other delay that results in the reported measurements not reflecting the current state of the destination server.


Thus, conventional load balancing systems may not be able to properly, or at least optimally, route requests for information to two or more destination servers because the measurements used to determine how the requests are being routed may not reflect the current state of the destination servers. One way to reduce the problem of stale data is to make measurements at more frequent time intervals. This approach, however, may increase the load on the destination servers and may be computationally expensive for both the probes and the load balancers. Thus, another way is needed to effectively route requests using the load balancer that does not increase the load on the destination servers, while still ensuring that the measurement data being used by the load balancers is not stale.


SUMMARY

Disclosed embodiments are directed to methods and systems for predicting future measurement data at a destination server using past measurement data and then routing requests for information to the destination servers based on the predicted future measurement data.


In certain embodiments, a system for routing requests for information based on predictive data is disclosed that includes one or more memories storing instructions, and one or more processors capable of executing the instructions to (a) receive measurement data indicative of states of each of a plurality of destination servers and (b) generate predicted measurement data values for each of the plurality of destination servers based on the retrieved measurement data. The predicted measurement data values may represent predicted states of each of the destination servers at a time later than a time corresponding to the received measurement data. The one or more processors may also be configured to (c) receive requests for information from a client computer and then to (d) route the received requests for information to one of the plurality of destination servers based on the predicted measurement data value.


In some embodiments, the system may include or be included in a domain name server that receives a name resolution request and resolves the name resolution request by selectively returning an address of at least one of the destination servers based on the predicted measurement data value.


In other embodiments, the system may receive different types of measurement data, such as first measurement data indicative of first state criteria and second measurement data indicative of second state criteria, generate combined measurement data based on the different types of measurement data, and then use the combined measurement data to generate the predicted measurement data values for each of the plurality of destination servers. For example, the different state criteria may include one or more of a traffic load on the corresponding destination server, a processing load on the corresponding destination server, a response time of the corresponding destination server, a proximity to the client computer of the corresponding destination server, and a cost of operating the corresponding destination server.


In still other embodiments, a method for routing requests for information based on predictive data is disclosed. The method may include receiving measurement data indicative of states of each of a plurality of destination servers, and generating, by one or more processors, predicted measurement data values for each of the plurality of destination servers based on the retrieved measurement data. The predicted measurement data values may represent predicted states of each of the destination servers at a time later than a time corresponding to the received measurement data. The method may also include receiving requests for information from a client computer and routing the received requests for information to one of the plurality of destination servers based on the predicted measurement data value.


Consistent with yet other disclosed embodiments, computer-readable storage devices may store program instructions that are executable by one or more processors to implement any of the methods disclosed herein.


Additional objects and advantages of disclosed embodiments will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosed embodiments. The objects and advantages of the disclosed embodiments will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.


It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosed embodiments, as claimed.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments and together with the description, serve to explain the principles of the disclosed embodiments. In the drawings:



FIG. 1 is a diagram illustrating an exemplary system for routing requests for information based on predictive data, consistent with disclosed embodiments;



FIG. 2 is a flowchart illustrating an exemplary process that may be performed by the system of FIG. 1;



FIG. 3 is a flowchart illustrating another exemplary process that may be performed by the system of FIG. 1;



FIG. 4 is a flowchart illustrating yet another exemplary process that may be performed by the system of FIG. 1; and



FIG. 5 is a flowchart illustrating still another exemplary process that may be performed by the system of FIG. 1.





DESCRIPTION OF THE EMBODIMENTS

Disclosed embodiments provide systems and methods for predicting future measurement data at a destination server using past measurement data and routing requests for information to the destination servers based on the predicted future measurement data. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.



FIG. 1 is a diagram illustrating a system 100 for routing requests for information based on predictive data. As shown in FIG. 1, system 100 may include a load balancer 110, a client computer 120, destination servers 130 and 131, probes 140 and 141, and an aggregator 150 connected via a network 160. Network 160 may be any combination of wired and/or wireless networks, and may include, for example, any combination of local area networks (LANs), wide area networks (WANs), intranets, and the Internet.


Load balancer 110 may be configured to receive requests for information from client computer 120 and route the requests for information or otherwise redirect client computer 120 to one or more of destination servers 130 and 131 based on predicted data values that are used to predict states of destination servers 130 and 131, as discussed in greater detail below. Load balancer 110 may further be configured to generate the predictive data based on measurements of data values representing the current states of destination servers 130 and 131, also discussed in greater detail below.


In certain embodiments, load balancer 110 may include, or be included in, a name server, such as a domain name system (DNS) server. In these embodiments, client computer 120 may send a request for information to load balancer 110 in the form of a DNS request, such as a request for DNS address (A) records. For example, client computer 120 may send a DNS request for example.com. Destination servers 130 and 131 each may host content for the requested address, example.com, but may have different Internet protocol (IP) addresses. For example, destination server 130 may correspond to IP address 1.1.1.1 while destination server 131 may correspond to IP address 2.2.2.2. In response to receiving the DNS request from computer 120, load balancer 110 may return the A record of one or more of destination server 130 and destination server 131. Moreover, load balancer 110 may determine which A record (i.e., the A record of destination server 130 or the A record of destination server 131) to return based on predicted data values, implementing one or more of the processes discussed in greater detail below. In one embodiment, load balancer 110 may return the A records for both destination server 130 and destination server 131, but may determine an order or a preference ranking for each destination server based on the predicted data values, as discussed in greater detail below.


In other embodiments, load balancer 110 may include, or be included in, a server located, e.g., at an edge site of a content delivery network (CDN). In these embodiments, client computer 120 may send a request for information to load balancer 110 in the form of a content request on the CDN. The content may be stored at both destination server 130 and destination server 131, for example. In certain embodiments, load balancer 110 may respond to the content request with a redirection command that specifies one or more of destination servers 130 and 131. For example, load balancer 110 may respond to client computer 120 using a hyper text transfer protocol (HTTP) redirect that instructs computer 120 to request the content from destination 130. In other embodiments, load balancer 110 may tunnel the content request to computer 120 and act as a proxy between computer 120 and destination server 130 for all or part of the remaining transaction. In these embodiments, load balancer 110 may likewise determine which destination server 130 or 131 to forward the requests to (or tunnel the requests to) based on predicted data values, in accordance with one or more embodiments discussed below.


Those skilled in the art will appreciate that client computer 120 may include any type of computing device capable of sending requests for information via network 160. For example, client computer 120 may include any combination of desktop or laptop computer, cellular telephone, smartphone, tablet, etc., that may make DNS or content requests to load balancer 110. Moreover, while FIG. 1 illustrates only one client computer 120, those skilled in the art will appreciate that any number of client computers 120 may be included on network 160. For example, if network 160 includes the Internet, billions of client computers may be included in system 100.


Probes 140 and 141 may collect measurement data regarding the states of destination servers 130 and 131, respectively. For example, probes 140 and 141 may collect information related to one or more of a traffic load on the corresponding destination server, a processing load on the corresponding destination server, a response time of the corresponding destination server, a proximity to the client computer of the corresponding destination server, a cost of operating the corresponding destination server, etc. Of course, any other data measuring the states of destination servers 130 and 131 may be used.


Probes 140 and 141 may send the measurement data to aggregator 150, e.g., at predetermined intervals. Aggregator 150 may aggregate the measurement data received from probes 140 and 141 on network 160 and may send the aggregated measurement data to load balancer 110. In certain embodiments, aggregator 150 may not be included in system 100 and/or may be included in load balancer 110 and load balancer 110 may receive the individually measured measurement data from each of probes 140 and 141.


While FIG. 1 shows only one load balancer 110, system 100 may include multiple load balancers distributed across network 160. In certain embodiments, such as, for example where load balancer 110 is a DNS server, multiple load balancers may be distributed across different geographic locations. In one embodiment, the multiple load balancers may have anycasted and/or multicasted IP addresses, such that requests for information from client computers located in various locations are sent to different load balancers 110, e.g., based on proximity or other factors.


Likewise, while FIG. 1 only shows two destination servers 130 and 131 and two probes 140 and 141, any number of destination servers and probes may be included in system 100. For example, multiple destination servers may be included in system 100 and located in various geographic locations. Load balancer 110 may determine which destination server(s) to route the requests for information to, a percentage of requests to route to each destination server, and/or the order of the destination servers in which the requests should be routed, consistent with disclosed embodiments.


As shown in FIG. 1, load balancer 110 may include a processor 111, a storage 112, a memory 113, and one or more input/output ports 114. Processor 111 may include one or more processing devices, such as one or more microprocessors and/or embedded controllers, such as a microprocessor from the Pentium™ or Xeon™ family manufactured by Intel™, the Turion™ family manufactured by AMD™, any of various processors manufactured by Sun Microsystems, or any other type of processor. Storage 112 may include a volatile or non-volatile, magnetic, semiconductor, tape, optical, removable, nonremovable, or other type of computer-readable medium or computer-readable storage device. Storage 112 may store programs and/or other information, such as one or more predictive routing programs and any other information used to determine predicted measurement data regarding destination servers 130 and 131 and route received requests for information based on the predicted measurement data, as discussed in greater detail below. Memory 113 may include one or more storage devices configured to store information used by load balancer 110 to perform certain functions related to disclosed embodiments.


In one embodiment, memory 113 may include one or more short predictive routing programs or subprograms loaded from storage 112 or elsewhere that, when executed by processor 111, perform various procedures, operations, or processes consistent with the disclosed embodiments. For example, memory 113 may include one or more programs that enable load balancer 110 to, among other things, receive measurement data indicative of states of each of a plurality of destination servers, generate predicted measurement data values for each of the plurality of destination servers based on the retrieved measurement data, receive requests for information from a client computer, and route the received requests for information to one of the plurality of destination servers based on the predicted measurement data value.


Input/output ports 114 may enable load balancer 110 to send and receive data to and from other parts of system 100 consistent with disclosed embodiments. For example, load balancer 110 may receive, via input ports 114 requests for information and measurement data values and may output, via output ports 114, routing commands such as DNS responses, HTTP redirects, etc.


As discussed above, load balancer 110 may perform one or more predictive routing processes, e.g., by executing one or more programs stored in memory or elsewhere. FIG. 2 illustrates a flowchart of an exemplary predictive routing process that may be performed by load balancer 110.


As shown in FIG. 2, load balancer 110 may receive measurement data values corresponding to state information at a plurality of destination servers (step 210). For example, as explained above, load balancer 110 may receive measurement data values from aggregator 150 and/or from probes 140 and 141 regarding certain criteria, such as a traffic load on the corresponding destination server, a processing load on the corresponding destination server, a response time of the corresponding destination server, a proximity to the client computer of the corresponding destination server, a cost of operating the corresponding destination server, or any other type of criteria representing a state of the destination server. Load balancer 110 may receive the measurement data values, e.g., at predetermined intervals. Thus, while the process of FIG. 2 is shown as ending at step 260, the process may repeat at the predetermined intervals, e.g., each time the measurement data values are received.


Load balancer 110 may also determine the number of criteria being represented in the measurement data. In some embodiments, the measurement data may include measurements of two or more criteria. For example, the measurement data may correspond to both the traffic load at the corresponding destination server and a cost of operating the corresponding destination server, or any other combination of two or more criteria. Thus, at each predetermined interval, load balancer 110 may receive, as the measurement data for each destination server, a measurement data value regarding the traffic load and another measurement data value regarding the cost of operating the corresponding destination server.


If load balancer 110 determines that only one criterion is represented in the measurement data values (step 220, No), then load balancer 110 may generate predicted measurement data values from the single set of measurement data values, as described in greater detail below with regard to step 250.


If load balancer 110 determines that two or more criteria are included in the measurement data values (step 220, Yes), then load balancer 110 may further process the measurement data values, e.g., by normalizing the measurement data values for each criteria (step 230) to generate a combined measurement data value (step 240).


To illustrate these processing steps, consider the example where a first set of measurement data values are received that correspond to a cost C of a destination server transaction and a second set of measurement data values are received that correspond to a delay D of a transaction from source to destination. Table 1, shown below, illustrates two time series of measurement data values, one for cost C and another for delay D. As shown in Table 1, the cost C and delay D may not necessarily be measured in the same scale, and thus, if the measurement data values are merely added together, the criterion with the larger measurement data values (in this example, cost C) may have a greater effect on the routing decisions than the criterion with the smaller measurement data values.
















TABLE 1






Time t = 1
t = 2
t = 3
t = 4
t = 5
Min
Max






















Cost C
75
80
85
90
90
75
90


Cost D
20
20
18
18
15
15
20


Sum
95
100
103
108
105









Thus, in certain embodiments, load balancer 110 may normalize the measurement data values, e.g., as they are received from probes 140 and 141. Load balancer 110 may normalize the measurement data values according to any statistical function that can be used to normalize data. In one embodiment, load balancer 110 may implement a min-max normalization function such that each measurement data value is normalized according to the following equation:










X
N

=



(

a
+

(

x
-
A

)


)

*

(

b
-
a

)



B
-
A






(
1
)








where xN is the normalized measurement data value, x is the original measurement data value, a is the start of the new normalized range, b is the end of the new normalized range, A is the minimum value in a time series of measurement data values, and B is a maximum value in a time series of measurement data values. For example, at a time t, load balancer 110 may receive a cost measurement data value xc and a delay measurement data value xd and may normalize each measurement data value to generate a normalized cost measurement data value xNc and a normalized delay measurement data value xNd, e.g., using equation (1) above.


After normalizing the measurement data values, load balancer 110 may generate a combined measurement data value xcomb. In certain embodiments, the combined measurement data value may be the sum of the normalized individual measurement data values. Continuing with the example where two measurement data values are received and normalized, the combined measurement data value may be determined to be:

xcomb=xNc+xNd  (2)


The combined measurement data value xcomb may be determined in other ways, e.g., to be the average or weighted average of the normalized measurement data values. Continuing with the above example, the combined measurement data value may be determined to be:

xcomb=wc*xNc+wd*xNd  (3)

where wc is a weight associated with the cost measurement data values and wd is a weight associated with the delay measurement data values. In certain embodiments, load balancer 110 may enable a user to determine and configure the relative weights assigned to each of the measurement data value criteria.


After generating the combined measurement data values (step 240) or after determining that only one criterion is included in the measurement data (step 220), load balancer 110 may generate predicted measurement data values for each of the plurality of destination servers based on the measurement data values (or the combined measurement data values, if two or more criteria exist) (step 250).


The predicted measurement data values may be generated in a variety of ways. For example, in certain embodiments, load balancer 110 may generate the predicted measurement data values using one or more exponential smoothing methods. In one embodiment, load balancer 110 may implement a Holt-Winters exponential smoothing method in double or triple exponentiation form to generate the predicted measurement data values. For example, for a measurement data value xt measured at time t (or, if multiple measurement data value are collected representing multiple criteria, a combined measurement data value) in a series of measurement data values, load balancer 110 may generate a predicted measurement data value xt+1 for a time t+1 using the following equations:

xt+1=St+bt  (4)
St=(α*xt)+(1−α)(St−1+bt−1)  (5)
bt=(β*(St−St−1))+(bt−1*(1−β))  (6)

where α is a data smoothing factor that determines the speed at which the older values in the time series are dampened and is chosen such that 0≤α≤1 and β is the trend smoothing factor and is chosen such that 0≤β≤1. In certain embodiments, load balancer 110 may enable a user to choose the values of α and/or β.


Those skilled in the art will appreciate that if load balancer 110 generates predicted measurement data values according to equations (4)-(6) discussed above, then load balancer 110 may require initialization values for St and bt (i.e., load balancer 110 may need to have beginning values of S and b). In certain embodiments, load balancer 110 may receive two or more sets of measurement data values prior to generating predicted data values and may determine the initialization values to be S1=x1 and b1=x2−x1.


While a Holt Winters method is discussed above as an example, those skilled in the art will understand that other methods for predicting the measurement data values could be used, such as machine learning, moving averages, or any other predictive algorithm.


After the predicted measurement data values are calculated, load balancer 110 may route requests for information that are received from a computer (e.g., client computer 120) based on the predicted measurement data values (step 250). Load balancer 110 may route the requests according to a variety of different methods, as discussed in greater detail below.



FIG. 3 illustrates an exemplary method that may be performed by load balancer 110 to route the requests for information. This method may be performed, e.g., as part of step 250 in the method of FIG. 2. According to the method of FIG. 3, load balancer 110 may generate, for each destination server, a time series using the measurement data values and the predicted measurement data values corresponding to that destination server, and may route the requests for information to the destination servers based on a statistical comparison of the time series for each destination server.


Load balancer 110 may generate a time series for each destination server by adding the predicted measurement data value to a time series of measurement data values for each destination server (step 310). For example, for destination server 130, load balancer 110 may have received measurement data values xa1 and xa2 at times t=1 and t=2, respectively. Load balancer 110 may calculate a predicted measurement data value xa3, e.g., using one or more of the methods discussed above. Similarly, load balancer 110 may have received measurement data values xb1 and xb2 at times t=1 and t=2, respectively, for destination server 131 and may calculate a predicted measurement data value xb3. At step 310, load balancer 110 may generate a time series {xa1, xa2, xa3} for destination sever 130 and a time series {xb1, xb2, xb3} for destination server 131. While a time series of only three times is shown for exemplary purposes, load balancer 110 may generate time series of any length.


Load balancer 110 may also calculate the mean and standard deviation of the time series for each destination server (step 320), and may determine the destination server with the time series having the smallest mean (step 330). If load balancer 110 determines that only one destination server has the smallest mean (step 340, N), then load balancer 110 may route the received requests for information to the destination server having the smallest mean (step 350).


If load balancer 110 determines that two or more destination servers have the smallest mean (step 340, Y), then load balancer 110 may route the received requests for information to the destination server, chosen from the destination servers having the time series with the same smallest mean, that has the time series with the smallest standard deviation (step 360).



FIG. 4 illustrates another exemplary method that may be performed by load balancer 110 to route the requests for information. This method may be performed, e.g., as part of step 250 in the method of FIG. 2. According to the method of FIG. 4, load balancer 110 may route the received requests for information to multiple destination servers such that a higher percentage of received requests for information are routed to the destination server with the lowest predicted measurement data value.


For example, load balancer 110 may determine the destination server with the lowest predicted measurement data value (step 410). As discussed above, load balancer 110 may calculate predicted measurement data values for each of the destination servers. Thus, at step 410, load balancer 110 may compare the predicted measurement data values of each destination server for a particular time interval to determine the destination sever with the lowest predicted measurement data value.


Load balancer 110 may route a higher percentage of requests for information to the destination server having the lowest predicted measurement data value (step 420). In certain embodiments, the percentage may be set to a constant value. For example, if three destination servers exist, then load balancer 110 may route y % of the requests to the destination server having the lowest predicted measurement data value and z % of the requests to each of the remaining destination servers, such that y>z. Load balancer 110 may enable a user to configure the relationship between y and z. Moreover, in other embodiments, the relationship between y and z may be proportional to the relationship between the lowest predicted measurement data value and one or more of the remaining predicted measurement data values. For example, if the lowest predicted measurement data value is half the amount of the next lowest predicted measurement data value, then y may be twice as much as z. Of course, other methods may be used to determine the relationship between y and z.


After step 420, load balancer 110 may again recalculate the predicated measurement data values for each destination server and may again determine the destination server with the lowest predicted measurement data value (step 430). For example, because at step 420 the load balancer 110 routed a greater percentage of requests to the destination server with the lowest predicted value, the predicted measurement data values of each of the destination servers may change and the destination server that previously had the lowest predicted measurement data value may not currently have the lowest predicted measurement data value.


If the destination server with the lowest predicted value at step 430 is the same as the destination server with the lowest predicted value at step 410 (step 440, Yes), then load balancer 110 may increase the percentage of requests routed to the same destination server (step 450). Assume, for example, that the measurement data value applies to a single criterion of delay D. If at step 440, load balancer 110 determines that the same server that previously had the lowest delay still has the lowest delay, even after a higher percentage of requests were routed to that server in step 420, then load balancer 110 may assume that this destination server can handle an even higher number of requests for information and may thus further increase the percentage of requests sent to this server. The amount by which the percentage increases may be set to a constant value, may be configured by a user, and/or may be determined in any other manner.


If load balancer 110 determines that the destination server with the lowest predicted value at step 430 is different than the destination server with the lowest predicted value at step 410 (step 440, No), then load balancer 110 may return to step 420 where load balancer 110 may route a higher percentage of requests to the destination server that now has the lowest predicted measurement data value. For example, the difference in percentages of requests that are routed to the different destination servers may be determined as discussed above with regard to step 420.



FIG. 5 illustrates yet another exemplary method that may be performed by load balancer 110 to route the requests for information.


Load balancer 110 may compare the predicted measurement data value to the last received measurement data value (step 510). Based on the comparison, load balancer 110 may determine whether the measurement data values for each destination server are increasing or decreasing (step 520). For example, if the predicted measurement data value is less than the last received measurement data value for a particular destination server, then load balancer 110 may determine that the measurement data values for that destination server are decreasing. On the other hand, if the predicted measurement data value is greater than the last received measurement data value for a particular destination server, then load balancer 110 may determine that the measurement data values for that destination server are increasing.


Load balancer 110 may route traffic to one or more of the destination servers with decreasing measurement data values (step 530). Load balancer 110 may do this in a variety of ways. In one embodiment, load balancer 110 may route all of the received requests for information to the server that is decreasing by the greatest amount (e.g., the server that has a predicted measurement data value that is less than the corresponding last received measurement data value by the largest amount). In another embodiment, load balancer 110 may route the received requests for information to all servers that have decreasing measurement data values of any amount, e.g., by routing the requests equally among those servers, or by routing the requests proportionally to the amount by which the measurement data values are decreasing. In yet another embodiment, load balancer 110 may determine that the predicted measurement data values are not decreasing for any of the destination servers. In this case, load balancer 110 may route the requests for information to the least increasing destination server.


Of course, load balancer 110 may route the requests for information based on the predicted measurement data values in other ways. For example, in one embodiment, load balancer 110 may compare the predicted measurement data value of each destination server and may route all of the requests for information to the destination server with the lowest predicted measurement data value. In another embodiment, load balancer 110 may route percentages of the requests for information to the destination servers, such that the percentages are proportional to the measurement data values.


In the above exemplary embodiments, an assumption was made regarding the measurement data values that a lower measurement data value represents a better state of the corresponding destination server. For example, if two criteria being used are delay and processor usage, then lower delay and processor usage measurement data values correspond to a better state than higher delay and processor usage measurement data values. Those skilled in the art will appreciate, however, that in certain embodiments, the measurement data values may be adjusted so that higher measurement data values correspond to a better state of the corresponding destination server. Thus, in these embodiments, routing decisions, as described in FIGS. 3-5, may be changed accordingly. For example, in FIG. 3, the requests for information may be routed to the destination server with the largest mean. Likewise, in FIG. 4, a higher percentage of the requests for information may be routed to the destination server with the highest predicted value.


The foregoing descriptions have been presented for purposes of illustration and description. They are not exhaustive and do not limit the disclosed embodiments to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practicing the disclosed embodiments. For example, the described implementation includes software, but the disclosed embodiments may be implemented as a combination of hardware and software or in firmware. Examples of hardware include computing or processing systems, including personal computers, servers, laptops, mainframes, microprocessors, and the like. Additionally, although disclosed aspects are described as being stored in a memory on a computer, one skilled in the art will appreciate that these aspects can also be stored on other types of computer-readable storage media, such as secondary storage devices, like hard disks, floppy disks, a CD-ROM, USB media, DVD, or other forms of RAM or ROM.


Computer programs based on the written description and disclosed methods are within the skill of an experienced developer. The various programs or program modules can be created using any of the techniques known to one skilled in the art or can be designed in connection with existing software. For example, program sections or program modules can be designed in or by means of .Net Framework, .Net Compact Framework (and related languages, such as Visual Basic, C, etc.), XML, Java, C++, JavaScript, HTML, HTML/AJAX, Flex, Silverlight, or any other now known or later created programming language. One or more of such software sections or modules can be integrated into a computer system or existing browser software.


Other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. The recitations in the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed non-exclusive. Further, the steps of the disclosed methods may be modified in any manner, including by reordering steps and/or inserting or deleting steps. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope equivalents.

Claims
  • 1. A system for routing requests for information based on predictive data, the system comprising: one or more memories storing instructions; andone or more processors capable of executing the instructions to: receive, for each of a plurality of destination servers, corresponding measurement data values that indicate an operational state of the destination server at a first time;generate, based on the corresponding measurement data values for each of the plurality of destination servers, corresponding predicted data values for the destination server that predict the operational state of the destination server at a second time later than the first time;receive a first set of requests for information from one or more client computers;for each destination server included in the plurality of destination servers, combine the corresponding measurement data values and the corresponding predicted data values to generate a combined time series associated with a time interval between the first time and the second time;for each destination server included in the plurality of destination servers, calculate, based on the combined time series corresponding to the destination server in the plurality of destination servers, a corresponding predicted state change in the operational state of the destination server from the first time to the second time;select, based on a plurality of combined time series that includes the combined time series corresponding to each destination server of the plurality of destination servers, a set of selected destination servers for which the corresponding predicted state change is predicted to improve from the first time to the second time;route the first set of requests for information to a first destination server included in the set of selected destination servers;update a first combined time series corresponding to the first destination server based on updated measurement data values and updated predicted data values determined in response to the first destination server processing the first set of requests;receive a second set of requests for information from the one or more client computers; androute the second set of requests for information to a second destination server corresponding to a second combined time series having a lower mean value than the updated first combined time series.
  • 2. The system of claim 1, the one or more processors being further configured to: receive first and second measurement data values that respectively indicate first and second state criteria in the operational state of each of the plurality of destination servers at the first time;generate, based on the first and second measurement data values for each destination server of the plurality of destination servers, corresponding combined measurement data values for each destination server of the plurality of destination servers; andgenerate, for each destination server of the plurality of destination servers, the corresponding predicted data values based on the corresponding combined measurement data values for the destination server.
  • 3. The system of claim 2, wherein the first and second state criteria each includes one selected from the group consisting of: a traffic load on the corresponding destination server anda processing load on the corresponding destination server.
  • 4. The system of claim 2, the one or more processors being further configured to: normalize the first and the second measurement data values; andgenerate the combined measurement data values using the normalized first and second data values.
  • 5. The system of claim 4, the one or more processors being further configured to: generate the combined measurement data values as a weighted average of the normalized first and second data values.
  • 6. The system of claim 1, the one or more processors being further configured to: generate, for each of the plurality of destination servers, the corresponding predicted data values using an exponential smoothing technique.
  • 7. The system of claim 1, the one or more processors being further configured to: calculate, for each combined time series, a corresponding mean value of the measurement data values and predicted data values in the combined time series,wherein the first set of requests for information is routed to the first destination server based on a corresponding first combined time series having a smallest mean value among the plurality of combined time series.
  • 8. The system of claim 7, the one or more processors being further configured to: calculate, for each combined time series, a corresponding standard deviation of the measurement data values and predicted data values in the combined time series,wherein, when two or more destination servers correspond to separate combined time series that both have a smallest mean value among the plurality of combined time series, the first set of requests for information is routed to the first destination server the corresponding first combined time series having a smaller standard deviation than a corresponding second combined time series.
  • 9. The system of claim 1, wherein: the first set of requests for information is routed to the first destination server and at least a second server included in the plurality of destination servers,the first destination server and at least the second destination server receive portions of the first set of requests for information based on a percentage allocation,the percentage allocation allocates: a first portion of the first set of requests to a first determined destination server with a lowest set of predicted data values, anda second portion of the first set of requests to a second determined destination server with a highest set of predicted data values, andthe first portion percentage is higher than the second portion.
  • 10. The system of claim 1, wherein selecting the set of selected destination servers comprises: comparing, for a specific time interval associated with the second time, the corresponding predicted data values of each destination server of the plurality of destination servers time; andselecting the set of selected destination servers, wherein the set of selected destination servers have corresponding combined time series that have lowest set predicted data values among the plurality of combined time series.
  • 11. A computer-implemented method for routing requests for information based on predictive data, the computer-implemented method comprising: receiving, for each of a plurality of destination servers, corresponding measurement data values that indicate an operational state of the destination server at a first time;generating, by one or more processors based on the corresponding measurement data values for each of the plurality of destination servers, corresponding predicted data values for the destination server that predict the operational state of the destination server at a second time later than the first time;receiving a first set of requests for information from one or more client computers;for each destination server included in the plurality of destination servers, combine the corresponding measurement data values and the corresponding predicted data values to generate a combined time series associated with a time interval between the first time and the second time;for each destination server included in the plurality of destination servers, calculating, based on the combined time series corresponding to the destination server in the plurality of destination servers, a corresponding predicted state change in the operational state of the destination server from the first time to the second time;selecting, based on a plurality of combined time series that includes the combined time series corresponding to each destination server of the plurality of destination servers, a set of selected destination servers for which the corresponding predicted state change is predicted to improve from the first time to the second time;routing the first set of requests for information to a first destination server included in the set of selected destination servers;updating a first combined time series corresponding to the first destination server based on updated measurement data values and updated predicted data values determined in response to the first destination server processing the first set of requests;receiving a second set of requests for information from the one or more client computers; androuting the second set of requests for information to a second destination server corresponding to a second combined time series having a lower mean value than the updated first combined time series.
  • 12. The computer-implemented method of claim 11, further comprising: receiving first and second measurement data values that respectively indicate first and second state criteria in the operational state of each of the plurality of destination servers at the first time;generating, based on the first and second measurement data values for each destination server of the plurality of destination servers, corresponding combined measurement data values for each destination server of the plurality of destination servers; andgenerating, for each destination server of the plurality of destination servers, the corresponding predicted data values based on the corresponding combined measurement data values for the destination server.
  • 13. The computer-implemented method of claim 12, wherein the first and second state criteria each includes one selected from the group consisting of: a traffic load on the corresponding destination server; anda processing load on the corresponding destination server.
  • 14. The computer-implemented method of claim 12, further comprising: normalizing the first and the second measurement data values; andgenerating the combined measurement data values using the normalized first and second data values.
  • 15. The computer-implemented method of claim 14, further comprising: generating the combined measurement data values as a weighted average of the normalized first and second data values.
  • 16. The computer-implemented method of claim 11, further comprising: generating, for each of the plurality of destination servers, the corresponding predicted data values using an exponential smoothing technique,generating the predicted measurement data values for each of the plurality of destination servers using an exponential smoothing technique.
  • 17. The computer-implemented method of claim 11, further comprising: calculating, for each combined time series, a corresponding mean value of the measurement data values and predicted data values in the combined time series,wherein the first set of requests for information is routed to the first destination server based on a corresponding first combined time series having a smallest mean value among the plurality of combined time series.
  • 18. The computer-implemented method of claim 17, further comprising: calculating, for each combined time series, a corresponding standard deviation of the measurement data values and predicted data values in the combined time series,wherein, when two or more destination servers correspond to separate combined time series that both have a smallest mean value among the plurality of combined time series, the first set of requests for information is routed to the first destination server the corresponding first combined time series having a smaller standard deviation than a corresponding second combined time series.
  • 19. The computer-implemented method of claim 11, wherein: the first set of requests for information is routed to the first destination server and at least a second server included in the plurality of destination servers,the first destination server and at least the second destination server receive portions of the first set of requests for information based on a percentage allocation, whereinthe percentage allocation allocates: a first portion of the first set of requests to a first determined destination server with a lowest set of predicted data values, anda second portion of the first set of requests to a second determined destination server with a highest set of predicted data values, andportion is higher than the second portion.
  • 20. One or more non-transitory computer readable media including instructions for routing requests for information based on predictive data that, when executed by one or more processors, cause the one or more processors to: receive, for each of a plurality of destination servers, corresponding measurement data values that indicate an operational state of the destination server at a first time;generate, based on the corresponding measurement data values for each of the plurality of destination servers, corresponding predicted data values for the destination server that predict the operational state of the destination server at a second time later than the first time;receive a first set of requests for information from one or more client computers;for each destination server included in a plurality of destination servers, combine the corresponding measurement data values and the corresponding predicted data values to generate a combined time series associated with a time interval between the first time and the second time;for each destination server included in the plurality of destination servers, calculate, based on the combined time series corresponding to the destination server in the plurality of destination servers, a corresponding predicted state change in the operational state of the destination server from the first time to the second time;select, based on a plurality of combined time series that includes the combined time series corresponding to each destination server of the plurality of destination servers, a set of selected destination servers for which the corresponding predicted state change is predicted to improve from the first time to the second time;route the first set of requests for information to a first destination server included in the set of selected destination servers;update a first combined time series corresponding to the first destination server based on updated measurement data values and updated predicted data values determined in response to the first destination server processing the first set of requests;receive a second set of requests for information from the one or more client computers; androute the second set of requests for information to a second destination server corresponding to a second combined time series having a lower mean value than the updated first combined time series.
  • 21. The one or more non-transitory computer readable media of claim 20, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to: receive first and second measurement data values that respectively indicate first and second state criteria in the operational state of each of the plurality of destination servers at the first time;generate, based on the first and second measurement data values for each destination server of the plurality of destination servers, corresponding combined measurement data values for each destination server of the plurality of destination servers; andgenerate, for each destination server of the plurality of destination servers, the corresponding predicted data values based on the corresponding combined measurement data values for the destination server.
  • 22. The one or more non-transitory computer readable media of claim 21, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to: normalize the first and the second measurement data values; andgenerate the combined measurement data values using the normalized first and second data values.
US Referenced Citations (82)
Number Name Date Kind
6178160 Bolton et al. Jan 2001 B1
6950848 Yousefi'zadeh Sep 2005 B1
6986139 Kubo Jan 2006 B1
7062556 Chen Jun 2006 B1
7111074 Basturk Sep 2006 B2
7184945 Takahashi et al. Feb 2007 B1
7187652 Lee Mar 2007 B2
7231445 Aweya et al. Jun 2007 B1
7382765 Kennedy et al. Jun 2008 B2
7685099 Liu Mar 2010 B2
7685100 Liu Mar 2010 B2
7689622 Liu Mar 2010 B2
7693823 Liu Apr 2010 B2
7716022 Park May 2010 B1
7734815 Leighton et al. Jun 2010 B2
7783510 Gilgur Aug 2010 B1
8036224 Axelsson et al. Oct 2011 B2
8037186 Dumitriu et al. Oct 2011 B2
8050671 Calin et al. Nov 2011 B2
8225119 Jain Jul 2012 B2
8352607 Dias Jan 2013 B2
8468247 Richardson Jun 2013 B1
8495170 Vosshall et al. Jul 2013 B1
8499066 Zhang Jul 2013 B1
8510807 Elazary Aug 2013 B1
9497136 Ramarao Nov 2016 B1
20020073199 Levine Jun 2002 A1
20020078237 Leighton Jun 2002 A1
20020124080 Leighton Sep 2002 A1
20020129134 Leighton Sep 2002 A1
20020165958 Duffield Nov 2002 A1
20020188710 Duffield Dec 2002 A1
20030009399 Boerner Jan 2003 A1
20040103194 Islam May 2004 A1
20040111509 Eilam Jun 2004 A1
20040122950 Morgan Jun 2004 A1
20040143664 Usa Jul 2004 A1
20040165531 Brady Aug 2004 A1
20050278703 Lo Dec 2005 A1
20060230158 Fukazawa Oct 2006 A1
20070016666 Duffield Jan 2007 A1
20070300239 Adam Dec 2007 A1
20080071925 Leighton Mar 2008 A1
20090089078 Bursey Apr 2009 A1
20090094361 Srinivasan Apr 2009 A1
20090328050 Liu Dec 2009 A1
20100017239 Saltzman Jan 2010 A1
20100030896 Chandramouli Feb 2010 A1
20100076725 Chen Mar 2010 A1
20100115327 Lee May 2010 A1
20100229178 Ito Sep 2010 A1
20100306373 Wormley Dec 2010 A1
20110047554 Lakshmanan Feb 2011 A1
20110047555 Lakshmanan Feb 2011 A1
20110051602 Matthews Mar 2011 A1
20110058498 Miyoshi Mar 2011 A1
20110126206 Kato May 2011 A1
20110153828 Park Jun 2011 A1
20110176421 Perlmutter et al. Jul 2011 A1
20120004890 Chen Jan 2012 A1
20120020216 Vashist Jan 2012 A1
20120083917 Zhou Apr 2012 A1
20120117226 Tanaka May 2012 A1
20120131180 Nomura et al. May 2012 A1
20120131591 Moorthi May 2012 A1
20120246638 He Sep 2012 A1
20120284408 Dutta Nov 2012 A1
20130007259 Pacheco-Sanchez Jan 2013 A1
20130013730 Li et al. Jan 2013 A1
20130042253 Yagi Feb 2013 A1
20130054783 Ge Feb 2013 A1
20130204991 Skjolsvold et al. Aug 2013 A1
20130211870 Lawson Aug 2013 A1
20130275589 Karthikeyan Oct 2013 A1
20130332109 Luiset Dec 2013 A1
20130343281 Bakker Dec 2013 A1
20140040478 Hsu et al. Feb 2014 A1
20140052413 Murakami Feb 2014 A1
20140303953 Bates Oct 2014 A1
20140359092 Middleton Dec 2014 A1
20150120914 Wada Apr 2015 A1
20170272973 Denecheau Sep 2017 A1
Foreign Referenced Citations (2)
Number Date Country
2216762 Aug 2010 EP
2001042908 Jun 2001 WO
Non-Patent Literature Citations (7)
Entry
Parinaz Haratian ; Faramarz Safi-Esfahani ; Leili Salimian ; Akbar Nabiollahi,—An Adaptive and Fuzzy Resource Management Approach in Cloud Computing, IEEE Transactions on Cloud Computing , Aug. 3, 2017.
Katja Gilly et al., “Predictive-adaptive algorithm for a cluster-based network web servers”, IEEE Latin America Transactions, vol. 4, No. 1, Mar. 2006, pp. 62-68 (Includes an English Language Translation of the Abstract, 2 pages).
Michele Colajanni et al., “Analysis of Task Assignment Policies in Scalable Distributed Web-server Systems”, IEEE Transactions on Parallel and Distributing Systems, vol. 9, No. 6, Jun. 1998, pp. 1-27.
Extended European Search Report dated Apr. 9, 2014, European Application No. 13180157.3 filed Aug. 13, 2013, pp. 1-19.
Ren, Xiaona, Lin, Rongheng, and Zou, Hua, “A Dynamic Load Balancing Strategy for Cloud Computing Platform Based on Exponential Smoothing Forecast”, IEEE, 2011, pp. 220-224, Beijing University, China (5 pages).
Al-Ghamdi, M., Chester, A.P., and Jarvis, S.A., “Predictive and Dynamic Resource Allocation for Enterprise Applications”, IEEE, 2010, pp. 2776-2783, Coventry, United Kingdom (8 pages).
Ardagna, Danilo, Casolari, Sara, and Panicucci, Barbara, “Flexible Distributed Capacity Allocation and Load Redirect Algorithms for Cloud Systems”, 2011, Italy (11 pages).
Related Publications (1)
Number Date Country
20140047104 A1 Feb 2014 US