<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thomas,<div><br></div><div>I agree with Artur that DNS is a good place to decide where you want to route people on a global basis in a situation where you have a temporary regional overload. That's how most CDN networks solve that issue. You could use an API controlled DNS service like Route 53 from AWS, and when you detect the congestion condition, adjust the DNS records to respond with alternate IP addresses that have adequate capacity available. You will need to use a DNS TTL with a relatively low value, perhaps in the 10 minute range. This should allow you to automatically shed load away from your congested sites.<div><br></div><div>Adrian</div><div><div><br><div><div>On Sep 15, 2011, at 8:32 AM, Thomas Prommer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="color: rgb(72, 72, 72); font-family: 'Lucida Grande', verdana, arial, helvetica, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "><p>
Varnish Community,</p><p>We are managing a cluster farm of 6 nodes that are geographically distributed across Europe (Amsterdam, London, Lisbon, Frankfurt, Zurich, Milan) delivering our internationalized application for the appropriate CCTLD for such nodes. All nodes have the same server image and application deployed. The server distribution is critical to ensure low latency in local markets as well as for SEO reasons.</p><p>The application is a simple LAMP application (no centralized data) that is using Varnish and Lighttpd Fast CGI for optimal scaling. However, we still run into scaling issues were essentially one node gets hit hard with local traffic while all the other severs are pretty idle.</p><p>Our question is if there is a common recommendation of load balancing a server cluster where the servers are geographically distributed and also if varnish or the lighttpd fastcgi server would be more appropriate to carry out the load balancing?</p><p>We know that both systems allow for load balancing but we are concerned that simply load balancing the IPs of geographically servers wouldn't perform too well because an additional round trip to a remote server location would be introduced.</p><p>In a nutshell, our questions are:</p><p>Are there any good strategies around load balancing geographical distributed servers?<br>What are the evaluation points for deciding if either Varnish or Lighttpd FastCGI would be more appropriate to own the load balancing responsibility?</p><p>Thanks /Thomas</p></span></font></font>
_______________________________________________<br>varnish-dev mailing list<br><a href="mailto:varnish-dev@varnish-cache.org">varnish-dev@varnish-cache.org</a><br>https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev</blockquote></div><br></div></div></div></body></html>