2 ms·
We're using this with apache on schoolrack.com. A couple of application servers running mod_wsgi behind HAProxy and Nginx. Works like a dream. Our site is prett
by whalesalad 17y ago
We're using this with apache on schoolrack.com. A couple of application servers running mod_wsgi behind HAProxy and Nginx. Works like a dream. Our site is pretty snappy =)
This is fairly common knowledge but if you use Apache with Keep-alive off and serve all your static content with something else (such as Nginx in our case), and only use Apache for dynamic requests it isn't such a dog. I'm not a computer scientist and haven't really bothered to get real solid statistics and reasons behind why mod_wsgi outperforms mod_python, but right off the bat you'll notice it uses significantly less memory.
I'm also experimenting with straight up nginx -> fastcgi for a few other projects but am not using it in production for no reason other than Apache + mod_wsgi has proven itself to be reliable and fast as hell.