Barry Abrahamson
April 16, 2009 10:52AM
On Apr 16, 2009, at 3:20 AM, Phillip B Oldham wrote:

> Barry Abrahamson wrote:
>>
>> Yes, except the vast majority images are generated dynamically, so
>> they don't exist on a filesystem anywhere :)
> Wouldn't it be faster to have the image generation script push the
> file to a memcached store on creation, and have nginx check this
> store before falling back to the generation script?

Maybe, but speed isn't the main issue here, the requests are served
generally "fast enough" Its scaling a single box to serve a huge
number of requests/sec.

BTW, I enabled http keep alives in nginx, and it seems to have reduced
softirq by about 5% which is pretty good. I guess setting up and
tearing down all of those TCP connections has a little bit of
overhead. We have sacrificed a little bit of RAM to deal with the
huge number of established connections (50k ish), but thats ok. I'm
wondering if there are even more optimizations like this which could
reduce sofirq even more.


--
Barry Abrahamson | Systems Wrangler | Automattic
Blog: http://barry.wordpress.com
Subject Author Posted

varnish?

Ilan Berkner March 29, 2009 07:00PM

Re: varnish?

Kiril Angov March 29, 2009 07:56PM

Re: varnish?

Floren Munteanu April 14, 2009 11:39PM

Re: varnish?

Cliff Wells March 29, 2009 11:29PM

RE: varnish?

Chris Zimmerman March 30, 2009 12:11AM

Re: RE: varnish?

russlndr April 12, 2009 11:17PM

Re: RE: varnish?

CryptWizard April 13, 2009 01:55AM

Re: RE: varnish?

russlndr April 13, 2009 10:05AM

Re: varnish?

Barry Abrahamson April 14, 2009 11:59AM

Re: varnish?

Victor Iggy April 14, 2009 06:55PM

Re: varnish?

Barry Abrahamson April 14, 2009 10:12PM

Re: varnish?

Victor Iggy April 15, 2009 01:43PM

Re: varnish?

Barry Abrahamson April 15, 2009 03:14PM

Re: varnish?

zepolen April 15, 2009 08:58PM

Re: varnish?

Barry Abrahamson April 16, 2009 10:48AM

Re: varnish?

zepolen April 17, 2009 05:00PM

Re: varnish?

Phillip B Oldham April 16, 2009 03:20AM

Re: varnish?

Barry Abrahamson April 16, 2009 10:52AM

Re: RE: varnish?

jeff emminger April 13, 2009 09:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready