advanced usage of python threads
Chris Mellon
arkanes at gmail.com
Fri Feb 22 14:55:19 EST 2008
On Fri, Feb 22, 2008 at 12:32 PM, hyperboreean
<hyperboreean at nerdshack.com> wrote:
> Well, I will be writing the application server of a three-tier
> architecture system. I will be using Twisted for the communication with
> the client but from there I have to make several calls to a database and
> this asks threading. The tables will be filled by another system that
> gathers some data. I want to implement several threads (workers) that
> takes care of each client and a coordinator thread that takes care of
> all the threads. But I have never worked with threads at this level and
> I feel like I need some coordination. I will be thankful with
> documentation on advanced threads, I probably can apply that in practice.
>
> Thanks to all.
Twisted has an asynchronous database API (built on top of threads)
already. Look at twisted.enterprise.adbapi.
More information about the Python-list
mailing list