<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Seth,<br>
<br>
On 07/11/2012 07:21 PM, Seth Schultz wrote:</tt>
<blockquote
cite="mid:CA+k28CGH0X0bD_1uQTwFO0_tZsQFqK+OKHaAJR+9tmk4kdYvcA@mail.gmail.com"
type="cite"><tt>Hello,</tt>
<div><tt><br>
</tt></div>
<div><tt>I am attempting to do load balancing with failover
support. From what I have read, this can be achieved by
calling the load_balance function in the failure route, but I
am unsure how to avoid the following two scenarios.</tt></div>
<div>
<ol>
<li><tt>Make sure the new destination isn't one we have
already tried</tt></li>
</ol>
</div>
</blockquote>
<tt>the load_balancer() function will take care and not use again
the already used destination (for a call)<br>
<br>
</tt>
<blockquote
cite="mid:CA+k28CGH0X0bD_1uQTwFO0_tZsQFqK+OKHaAJR+9tmk4kdYvcA@mail.gmail.com"
type="cite">
<div>
<ol>
<li><tt>Make sure we haven't exhausted all of our destination
options</tt></li>
</ol>
</div>
</blockquote>
<tt>the load_balancer() function will return false if there is no
other available destination.<br>
<br>
Regards,<br>
Bogdan</tt><br>
</body>
</html>