mysqldb + multi-threading

hg hg at nospam.com
Fri Sep 8 14:07:18 EDT 2006


Hi,

I am writing a transaction server (socket-based) under windows.

I use mysqldb to log info into MySQL.

It is all working and I need now to decide whether to use forks
(CreateProcess I guess) or threads.

I saw in another thread that some db engines did have issues with being
called from threads.

My gut feeling is to use threads (note: each transaction is finite, so
the process/thread die fairly quickly).

Any insight ?


hg



More information about the Python-list mailing list