Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Quick Django Benching. Django under Apache/mod_python outperforms nginx/FastCGI and LightTPD/FastCGI once you ramp up the concurrency levels. My setup for this site (Apache/mod_python behind an nginx proxy, with nginx handling static files) should give the best of both worlds.

Tagged , , , , , ,

1 comment

  1. Hmm, I'm not so sure about these benchmarks lately...

    He used prefork FCGI: ./manage.py runfcgi maxchildren=10 maxspare=5 minspare=2 method=prefork socket=/var/myapp.socket pidfile=/var/myapp.pid

    I would like to see the same benchmarks with FCGI started more something like this (without the voodoo max and min settings and in threaded mode): manage.py runfcgi method=threaded host=$HOST port=$PORT pidfile=$SITE.pid

    Šime Ramov - 21st February 2007 09:39 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site