[Twisted-Python] Wrapping a Perspective

Rasjid Wilcox rasjidw at gmail.com
Tue Sep 11 01:24:37 MDT 2007


On 9/7/07, Christopher Armstrong <radix at twistedmatrix.com> wrote:
> Switching to XMLRPC won't change anything about his situation, the biggest
> problem being that his COM interface doesn't support callbacks (?).

Actually, on further research it looks like the Python COM
implementation does support callbacks, although it looks somewhat
complex.

> Rasjid: Being asynchronous on the server does not require being asynchronous
> on the client. Communication boundaries let you do that.

Got it.  :-)

I think I'm beginning to understand where the risks with threads are.
With threads, you can accidentally bypass the communication
boundaries, and code may mostly appear to work but randomly fail at
times.

Thanks to all for the responses.

Cheers,

Rasjid.




More information about the Twisted-Python mailing list