Nginx 1.6.0 + spdy performance testing
Steve Holdoway
steve at greengecko.co.nz
Thu May 29 21:11:11 UTC 2014
I add an extra header, just for those who don't understand spdy...
add_header Alternate-Protocol "443:npn-spdy/3.1";
and specifically set up ssl protocols/ciphers and ocsp stapling but I'd
suggest that it's a limitation of the benchmark that you're hitting.
Using something like webpagetest.org does show pretty waterfalls of the
differences that delivering sites over spdy makes.
Sorry, pretty useless post really (:
Steve
On Thu, 2014-05-29 at 14:16 -0400, tulio84z wrote:
> I need to evaluate if using spdy will be good for my website but i'm having
> trouble setting everyting up. While using the chrome benchmark extension (1)
> an error message stating that it was not possible to use spdy apeared. This
> made me believe that there might be something wrong with my configuration.
> However, except for two warnings, spdycheck.org tells me that spdy is
> enabled. In (2) you can see what what those warnings are.
>
> I have two questions:
>
> 1. is there anything wrong with my configuration?
> 2. is there any other tool that can be used to run performance tests?
> (please only suggest tools that u have tested yourself).
>
> Ps.: chrome://net-internals/#spdy also shows that spdy 3.1 is enabled.
>
> I have posted my configuration file in (2) but for convenience here it is
> again:
>
> server {
> listen 80;
> listen 443 ssl spdy;
>
> server_name 54.201.32.118;
>
> ssl_certificate /etc/nginx/ssl/tulio.crt;
> ssl_certificate_key /etc/nginx/ssl/tulio.key;
>
> if ($ssl_protocol = "") {
> rewrite ^ https://$server_name$request_uri? permanent;
> }
>
> root /usr/share/nginx/html;
> index index.html index.htm;
>
> location / {
> # First attempt to serve request as file, then
> # as directory, then fall back to displaying a 404.
> try_files $uri $uri/ =404;
> # Uncomment to enable naxsi on this location
> # include /etc/nginx/naxsi.rules
> }
> }
>
>
> (1)
> https://sites.google.com/a/chromium.org/dev/developers/design-documents/extensions/how-the-extension-system-works/chrome-benchmarking-extension
>
> (2)
> http://serverfault.com/questions/599491/enabling-spdy-in-nginx-fails-spdycheck-org/599501#599501
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250485,250485#msg-250485
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa
More information about the nginx
mailing list