On 23 Aug 2007, at 22:03, Alec Flett wrote: > We use mod_python with paste.modpython and it works reasonably well > - but it's an extra level of configuration (apache stuff) so I'd > recommend against it. Only thing about proxying is that if you're > on a multi-core machine and want to exploit all cores, Python > threading kinda blows. So if you're using the default multi- > threaded paster and your app is in any way CPU intense, you're > going to see performance suffer.
In this case, look at running multiple instances of your application (on different ports) and use mod_proxy_balance in Apache 2.2 to load balance requests between them. I have benchmarked CherryPy apps using this technique and can get them to scale much better running 2-4 instances of the app per server (depends on the app workload). Cheers, Chris Miles _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
