[Twisted-Python] Re: gthreadless.py

Stefano Masini stefano at pragma2000.com
Tue Aug 30 13:06:43 EDT 2005


On 8/30/05, Itamar Shtull-Trauring <itamar at itamarst.org> wrote:
> Let me give a counterargument to this specific example - regardless of
> whether it uses greenlets or just Deferreds: it's slow. Really in this
> case you'd want callRemote("getDataFromIds", self.idList), or at least
> to run all the getDataFromId() in parallel, *not* wait for one to finish
> before calling the other.

Sure, I agree. That example should be taken as a proof of concept.
But we can easily think of another situation, where the parties carry
over some distributed computation that *does* require going back and
forth with intermediate results, like some cryptography algorithm for
example.




More information about the Twisted-Python mailing list