Non blocking socket server and storage engine

kdeveloper Krzysztof.Retel at googlemail.com
Wed Nov 19 06:05:16 EST 2008


On Nov 19, 10:51 am, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> kdeveloper wrote:
> > The server needs to run at least three threads:
>
> Get it working without threading first.

Lawrence, I was following article [1] when building my code.
So I guess it should be ok. At the moment
I have only two threads running:
a. receiving packages and storing to queue,
b. getting packet from the queue and storing in DB.

Regards,
Krzysztof


[1] http://www.ibm.com/developerworks/aix/library/au-threadingpython/index.html



More information about the Python-list mailing list