[Twisted-Python] GUI responsiveness

Antoine Pitrou solipsis at pitrou.net
Thu Sep 15 09:16:03 EDT 2005

> The way to write all Twisted applications, not just GUI ones, is that
> you _DO NOT BLOCK_. Blocking for even a small amount of time in, for
> example, a network server application, can eventually have disastrous
> results for the usability of your network server application.

Provided it is a network server application, that is.
If you are writing an asynchronous message-passing-based P2P app, then a
100ms or even 1s latency when sending/receiving packets isn't horrible
at all.

But it becomes horrible when the GUI is subject to the same 100ms
delay ;)



More information about the Twisted-Python mailing list