[Twisted-Python] Deffered question

Itamar Shtull-Trauring itamar at itamarst.org
Thu Oct 23 10:33:03 EDT 2003


On Mon, 20 Oct 2003 22:22:34 +0300
soso <duke99 at email.ro> wrote:

> 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.

Deferreds don't solve this problem. They just make doing callbacks
easier.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting




More information about the Twisted-Python mailing list