Hi all:
I used Nginx1.3.8 with SPDY but did not use ssl (I have modified source code to support it).
Nginx server is used as reverse-proxy ,backend is Varnish as cache server.
I access Nginx with chrome brower. first, open a web page A, then quickly open several other web pages B, C, D, E, F, G, H, I, during these web pages are freshing, refresh the web page A. some resources, which its http response status is 304, but its waiting time is long, even spent more than 10 seconds.
from debug log, I found that writer handler is not run at once but delay a while, and I don't know why:
Line 353292: 2013/05/23 16:17:56 [debug] 23678#0: *20 spdy finalize request: -2, "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?" a:1, c:1
Line 429838: 2013/05/23 16:18:06 [debug] 23678#0: *20 spdy run request: "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?"
Line 429839: 2013/05/23 16:18:06 [debug] 23678#0: *20 spdy writer handler: "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?"
configure:
./configure --prefix=/nginx_path/proxy/nginx/ \
--sbin-path=/nginx_path/proxy/nginx/sbin/ \
--conf-path=/nginx_path/proxy/nginx/nginx.conf \
--pid-path=/nginx_path/proxy/nginx/nginx.pid \
--error-log-path=/nginx_path/proxy/nginx/log/error.log \
--http-log-path=/nginx_path/proxy/nginx/log/access.log \
--with-poll_module --with-pcre=/nginx_path/proxy/pcre-8.31 \
--with-pcre-jit --with-zlib=/nginx_path/proxy/zlib-1.2.7 \
--with-debug --add-module=src/third_party/nginx_upstream_hash-0.3.1
debug info and nginx.conf are include in error.tar.gz
and my SUSE linux system is:
linux-fast-1:~> uname -a
Linux vm91221 2.6.32.54-0.3-xen #1 SMP 2012-01-27 17:38:56 +0100 x86_64 x86_64 x86_64 GNU/Linux
linux-fast-1:~ # lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Server 11 (x86_64)
Release: 11
Codename: n/a
I used Nginx1.3.8 with SPDY but did not use ssl (I have modified source code to support it).
Nginx server is used as reverse-proxy ,backend is Varnish as cache server.
I access Nginx with chrome brower. first, open a web page A, then quickly open several other web pages B, C, D, E, F, G, H, I, during these web pages are freshing, refresh the web page A. some resources, which its http response status is 304, but its waiting time is long, even spent more than 10 seconds.
from debug log, I found that writer handler is not run at once but delay a while, and I don't know why:
Line 353292: 2013/05/23 16:17:56 [debug] 23678#0: *20 spdy finalize request: -2, "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?" a:1, c:1
Line 429838: 2013/05/23 16:18:06 [debug] 23678#0: *20 spdy run request: "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?"
Line 429839: 2013/05/23 16:18:06 [debug] 23678#0: *20 spdy writer handler: "/dy/deco/2012/0914/w0914_news_zyc_newLogo.gif.acce.ic.hKuTaTT3V5.png?"
configure:
./configure --prefix=/nginx_path/proxy/nginx/ \
--sbin-path=/nginx_path/proxy/nginx/sbin/ \
--conf-path=/nginx_path/proxy/nginx/nginx.conf \
--pid-path=/nginx_path/proxy/nginx/nginx.pid \
--error-log-path=/nginx_path/proxy/nginx/log/error.log \
--http-log-path=/nginx_path/proxy/nginx/log/access.log \
--with-poll_module --with-pcre=/nginx_path/proxy/pcre-8.31 \
--with-pcre-jit --with-zlib=/nginx_path/proxy/zlib-1.2.7 \
--with-debug --add-module=src/third_party/nginx_upstream_hash-0.3.1
debug info and nginx.conf are include in error.tar.gz
and my SUSE linux system is:
linux-fast-1:~> uname -a
Linux vm91221 2.6.32.54-0.3-xen #1 SMP 2012-01-27 17:38:56 +0100 x86_64 x86_64 x86_64 GNU/Linux
linux-fast-1:~ # lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Server 11 (x86_64)
Release: 11
Codename: n/a