[mod_python] ANNOUNCE: gila, mod_python util library

Michael C. Neel neel at mediapulse.com
Mon Nov 3 16:59:13 EST 2003


> well, share the db connection and not the cursors.
> IMHO creating a MySQL cursor is not performance heavy...
> 
My bad, I typed too quickly: MySQLdb is one connection handle one cursor
at a time.  From the spec level 1 threadsaftey reads "Threads may share
the module, but not connections."

Mike



More information about the Mod_python mailing list