Under Load: Server Unavailable/Connection Dropped/Delayed Reponse

Tejaswi Nadahalli nadahalli at gmail.com
Sat Mar 5 01:39:56 CET 2011


I added an Nginx server in front of the varnish cache, and things are
swimming just fine now.

Does it have something to do with accepting requests from different hosts?
Where Nginx does better out of the box than Varnish does?

-T

On Fri, Mar 4, 2011 at 5:48 PM, david raistrick <drais at icantclick.org>wrote:

> On Fri, 4 Mar 2011, Tejaswi Nadahalli wrote:
>
>  Is the only way to add more Varnish servers and load balance them behind
>> Nginx or some such?
>>
>
> Your loadbalancer (varnish, nginx, elb, haproxy, etc) will always be a
> limiting factor if all traffic only goes through that path.
>
> I haven't followed the rest of the thread to know where your real
> bottleneck is, but just keep that in mind. ;)
>
> 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. :)
>
>
>
>
> --
> david raistrick        http://www.netmeister.org/news/learn2quote.html
> drais at icantclick.org             http://www.expita.com/nomime.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110304/f6f09518/attachment-0003.html>


More information about the varnish-misc mailing list