[Twisted-Python] Deffered question

soso duke99 at email.ro
Mon Oct 20 13:22:34 MDT 2003


Hi all, 

I need to implement a command based protocol, that is a client sends a command
to the server and waits for the response. Since the response computation might
be time consuming I have to choose between 2 solutions:
- use Twisted deffereds
- or write my own implementation, a TCP based threaded server. I'm not worried
about scaling since it will not be used by more than 10 clients at a time.

And the question is, how are deffereds actually implemented? My guess is that
there are some worker threads, besides the main thread. Or?

I actually started implementing my own server, Twisted seems too huge. But I may
change my mind, I'm new to both Python and Twisted.

Thanks


______________________________________________________________________
Do you want a free e-mail for life ? Get it at http://www.email.ro/





More information about the Twisted-Python mailing list