17 messages in ru.sysoev.nginxsrc/http/modules/ngx_http_gzip_filter...
FromSent OnAttachments
Aleksandar LazicDec 9, 2006 5:21 pm 
Igor SysoevDec 10, 2006 2:04 am 
Aleksandar LazicDec 10, 2006 2:14 am 
Aleksandar LazicDec 10, 2006 2:31 am 
Igor SysoevDec 10, 2006 2:36 am 
Aleksandar LazicDec 10, 2006 2:39 am 
Igor SysoevDec 10, 2006 2:45 am 
Igor SysoevDec 10, 2006 3:05 am 
Aleksandar LazicDec 10, 2006 5:04 am 
Aleksandar LazicDec 10, 2006 5:05 am 
Igor SysoevDec 10, 2006 5:12 am 
Aleksandar LazicDec 10, 2006 5:20 am 
Igor SysoevDec 10, 2006 5:23 am 
Aleksandar LazicDec 10, 2006 5:32 am 
Aleksandar LazicDec 10, 2006 12:27 pm 
Aleksandar LazicDec 10, 2006 12:37 pm 
Aleksandar LazicDec 10, 2006 1:26 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:src/http/modules/ngx_http_gzip_filter_module.c tuningActions...
From:Aleksandar Lazic (al-n@public.gmane.org)
Date:Dec 9, 2006 5:21:01 pm
List:ru.sysoev.nginx

Hi,

today I have tested nginx and apache compression behavior with proxied requests and wasn't very happy that apache beats nginx :-/

/usr/sbin/ab2 -t 60 -c 5 -H 'Accept-Encoding: gzip' URL

Server Software: nginx/0.5.0 (with compression level 2) Requests per second: 17.70 [#/sec] (mean)

Server Software: Apache with deflate output filter Requests per second: 20.16 [#/sec] (mean)

Without compression nginx beats apache, with the same proxied request ;-):

/usr/sbin/ab2 -t 60 -c 5 SAME_URL

Server Software: nginx/0.5.0 Requests per second: 12.63 [#/sec] (mean)

Server Software: Apache with deflate output filter Requests per second: 11.26 [#/sec] (mean)

nginx.conf [snipped]

--- gzip on; gzip_types text/plain text/css application/x-javascript text/xml; gzip_proxied any; gzip_comp_level 2; proxy_buffering off;

---

Default apache conf from 'make install'.

How can I tune the gzip filter module to come to apache req/s, if it's possible?!

I have seen some options in the src which I haven't found in the doc:

gzip_no_buffer? gzip_window? gzip_hash?

Could this help?!

Regards

Aleks