A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-February/108059.html below:

[Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

[Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.pyBill Janssen janssen at parc.com
Mon Feb 14 21:08:25 CET 2011
Giampaolo RodolĂ  <g.rodola at gmail.com> wrote:

> Although I don't use it, it seems that Twisted managed to do this by
> splitting the concepts of "transport" and "protocol" / "application"
> and by using zope.interface.

You might want to look at the ILU core, too, just for ideas.  Somewhat
to my surprise, the link http://www2.parc.com/istl/projects/ILU/ still
works.  The protocol/transport distinction is at
<ftp://ftp.parc.xerox.com/pub/ilu/2.0b1/manual-html/manual_14.html#SEC475>.

The key requirements for an async loop, IMO, are the normal file
descriptor state change notifications, support for timer events, and
support for time-bounded work tasks (that get run when nothing is
happening).

The Tornado IOLoop does all three of these; also worth taking a look at:
<http://www.tornadoweb.org/>.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4