Nginx VS Nginx + Varnish
praveen at tigertrail.net
Tue Oct 14 22:15:22 MSD 2008
Serving thumbnails efficiently is not easy. See
http://highscalability.com/youtube-architecture (scroll down to
You're spending a good chunk of time doing disk seeks. Even if read
time is 0, average seek time is about 10ms. So you're looking at a
limit of 100 images/sec. This is the ideal case. Add read time + TCP
delays + other delays, you're looking 50-60 images/sec.
Serve off memory, try using memcache.
On Fri, Oct 10, 2008 at 5:03 AM, Gen Gennix <lists at ruby-forum.com> wrote:
> Dave Cheney wrote:
>> From my experience, 60 small static files / second used 2% cpu on a
>> OS X Xeon Server. Are you suspecting that your server is being limited
>> in some way ?
> Right now, I don't have problems.
> I just want to optimize my web server for the best result (it takes
> 400-500ms to serve a 5kB image).
> Those images show my web site performance (from pingdom.com and
> I'm wondering if there is something to reduce those timings...
> Posted via http://www.ruby-forum.com/.
Can you yell "Movie!" in a crowded firestation?
More information about the nginx