[Twisted-Python] Meaning of "Asynchronous networked applications"

Eugene Coetzee projects at reedflute.com
Wed Dec 15 10:12:54 EST 2004

praba mosas wrote:

>I want to know about the following
>concept "Asynchronous networked applications".
>Actuall meaning of twisted.
>        " it   is a framework for Asynchronous 
>networked applications ".  So I want to know
>specially about Asynchronous networked applications.
>If anybody know regarding this please clear doubts
>with small example. I have confusion regarding
Hi Praba,

In general "asynchronous" would mean "event-driven" as in comparison to "polling".

A simple example I can think of would be the way that in all modern GUI frameworks (for example Microsoft's MFC) you do not have to poll the keyboard or mouse port for input but rather write code in event handlers that responds to events that are automatically generated by the GUI framework.

In the same way - in Twisted you are coding event-handlers rather than writing polling routines that would for example poll a network socket for data.

Eugene Coetzee

Web                 -> www.reedflute.com

More information about the Twisted-Python mailing list