Daniel West
dwmp at opti.cgi.net
Mon Feb 2 17:23:29 EST 2004
At 02:33 PM 2/2/2004 -0500, you wrote: >Like Daniel said, going with a threaded MPM is not for the faint of >heart, as MySQLdb doesn't like sharing connections very much. Actually, database connections can successfully be shared among multiple threads with the standard Python Queue module plus some support code. However, mod_python seems to have problems in general with multi-threaded environments. It's quite the shame too, because the Apache 2 worker MPM is great for moderate to high load sites. Plus it's overall more efficient when it comes to shared resources like connection pools. -Dan
|