Welcome! Log In Create A New Profile

Advanced

Re: Poor performance in serving of static files

Ed W
July 18, 2011 08:58AM
On 18/07/2011 07:03, Jürg Lehni wrote:
> You are right, so here it is:
>
> The same site running on Nginx:
>
> http://lineto.com:81/The+Fonts/Font+Categories/Text+Fonts/Akkurat/Normal/
>

Using Google Chrome, from London, UK. I don't see any noticable
difference between the two sites, tested as of a few mins before this
email sent?

For performance tuning I find that either Chrome or Firefox with the
firebug plugin allows you to see the timings of all assets being loaded.
Delays are very easy to see and debug. Note that Chrome seems vastly
faster and more efficient at loading massive quantities of image assets,
so be sure to test with both

I think next use some kind of benchmarking system to that you can test
say single assets repeatedly pulled and multiple assets pulled in
parallel. This should help you figure out where the bottleneck is?

By now you should have spotted if you are IO bottlenecked, and if so
then also consider simple things like changes to logging (buffered or
non buffered), which can be stealing what little IO you have left?

If you haven't figured out whether you are IO bound then consider making
a small ram based cache drive and run the sites off those and disable
logging. This should quickly give you an upper estimate of the
machine's capabilities and you can work down from there? Obviously test
locally AND remotely and beware silly things like your ISP implementing
some upstream caching/filtering/throttling which is skewing your results?

Good luck

Ed W



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Poor performance in serving of static files

Jürg Lehni July 17, 2011 06:20PM

Re: Poor performance in serving of static files

Ensiferous July 17, 2011 08:24PM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 02:04AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 03:00AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 04:46AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 05:08AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 05:18AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 05:14AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 05:24AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 05:58AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 06:02AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 04:48AM

Re: Poor performance in serving of static files

Ed W July 18, 2011 08:58AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 09:50AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 10:10AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 10:54AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 11:34AM

Re: Poor performance in serving of static files

Jürg Lehni July 19, 2011 05:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 327
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