You might try a more current version of Nginx and see if the proxying
performance has improved compared to the FastCGI support. You're using
a fairly old version.

http://nginx.net/CHANGES


On 4/3/07, Nathan Vack <[EMAIL PROTECTED]> wrote:
> Are you running these tests cold? You probably want to throw out the
> first bunch of requests (say, 1000) to better simulate real-world
> running conditions.
>
> Also, what's up with the non-2xx responses? Are you benchmarking an
> error page or something?
>
> -Nate
>
> On Apr 3, 2007, at 3:33 PM, Benjamin Jackson wrote:
>
> > I tried benchmarking the same site behind an NGINX proxy with both
> > fastcgi and mongrel, and for some reason mongrel is performing pretty
> > poorly in comparison.
> >
> > Any idea what I might be doing wrong?
> >
> > Here's my benchmarks for 1 fcgi:
> >
> > Server Software:        nginx/0.4.0
> > Server Hostname:        eship.com.br
> > Server Port:            80
> >
> > Document Path:          /
> > Document Length:        95 bytes
> >
> > Concurrency Level:      100
> > Time taken for tests:   10.437 seconds
> > Complete requests:      1000
> > Failed requests:        0
> > Broken pipe errors:     0
> > Non-2xx responses:      1000
> > Total transferred:      366000 bytes
> > HTML transferred:       95000 bytes
> > Requests per second:    95.81 [#/sec] (mean)
> > Time per request:       1043.70 [ms] (mean)
> > Time per request:       10.44 [ms] (mean, across all concurrent
> > requests)
> > Transfer rate:          35.07 [Kbytes/sec] received
> >
> > Connnection Times (ms)
> >               min  mean[+/-sd] median   max
> > Connect:      182   435  294.5    430  3428
> > Processing:   371   569  296.5    505  2674
> > Waiting:      189   569  296.5    505  2674
> > Total:        371  1004  418.8    938  3963
> >
> >
> >
> >
> > And for 2 mongrels:
> >
> > Server Software:        nginx/0.4.0
> > Server Hostname:        eship.com.br
> > Server Port:            80
> >
> > Document Path:          /
> > Document Length:        95 bytes
> >
> > Concurrency Level:      100
> > Time taken for tests:   13.041 seconds
> > Complete requests:      1000
> > Failed requests:        0
> > Broken pipe errors:     0
> > Non-2xx responses:      1000
> > Total transferred:      417000 bytes
> > HTML transferred:       95000 bytes
> > Requests per second:    76.68 [#/sec] (mean)
> > Time per request:       1304.10 [ms] (mean)
> > Time per request:       13.04 [ms] (mean, across all concurrent
> > requests)
> > Transfer rate:          31.98 [Kbytes/sec] received
> >
> > Connnection Times (ms)
> >               min  mean[+/-sd] median   max
> > Connect:      175   234  292.9    187  3099
> > Processing:   204   897  806.4    611  5619
> > Waiting:      187   897  806.5    611  5619
> > Total:        365  1132  840.6    842  5804
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users@rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


-- 
Cheers,

Kevin Williams
http://www.almostserio.us/

"Any sufficiently advanced technology is indistinguishable from
Magic." - Arthur C. Clarke
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to