I added an Nginx server in front of the varnish cache, and things are swimming just fine now.<br><br>Does it have something to do with accepting requests from different hosts? Where Nginx does better out of the box than Varnish does?<br>
<br>-T<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 5:48 PM, david raistrick <span dir="ltr"><<a href="mailto:drais@icantclick.org">drais@icantclick.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, 4 Mar 2011, Tejaswi Nadahalli wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is the only way to add more Varnish servers and load balance them behind<br>
Nginx or some such?<br>
</blockquote>
<br></div>
Your loadbalancer (varnish, nginx, elb, haproxy, etc) will always be a limiting factor if all traffic only goes through that path.<br>
<br>
I haven't followed the rest of the thread to know where your real bottleneck is, but just keep that in mind. ;)<br>
<br>
Your next alternatives (this looks like you're @ AWS) would be ELB in front of varnish (which I do, but with mixed success), or a GSLB (dns based loadbalancing) service in the DNS adding an additional level of seperation. (we use akadns and I have lots of praises and no complaints yet. :)<br>
<font color="#888888">
<br>
<br>
<br>
<br>
--<br>
david raistrick <a href="http://www.netmeister.org/news/learn2quote.html" target="_blank">http://www.netmeister.org/news/learn2quote.html</a><br>
<a href="mailto:drais@icantclick.org" target="_blank">drais@icantclick.org</a> <a href="http://www.expita.com/nomime.html" target="_blank">http://www.expita.com/nomime.html</a><br>
<br>
</font></blockquote></div><br>