Sensible Performance/Growth Strategies?

Igor Sysoev igor at sysoev.ru
Thu Aug 5 20:55:18 MSD 2010


On Thu, Aug 05, 2010 at 06:49:21PM +0200, rainer at ultra-secure.de wrote:

> > On Thu, Aug 05, 2010 at 12:24:23PM -0400, Alex Sergeyev wrote:
> 
> > varnish relies on OS internals too: it mmap()s a huge file that
> > may be larger tens times physical memory and perfomance relies on
> > how OS flushes modified pages to a disk and how then OS reads them
> > back to memory.
> >
> >> I'm not sure about internals of each project and how they work under
> >> Linux vs FreeBSD servers. This could be a decision reason too.
> >
> > Both Varnish and nginx are developed on FreeBSD.
> 
> Recently, we did a test with serving just static files (from a FreeBSD8.1
> VM), a very small data-set.
> nginx0.7 was 1.8 times faster than varnish (both mostly untuned).
> So, I'd say that OOTB, just serving static files, nginx wins.
> Though, I still think that varnish has a place and there are probably
> certain situations where it can beat and will nginx.

What have you set behind Varnish ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list