[zeromq-dev] Eventlet support
Ben Ford
ben at boothead.co.uk
Wed Oct 20 11:36:52 CEST 2010
Hi All,
Just wanted to cross post this here for those of a pythonic persuasion.
https://lists.secondlife.com/pipermail/eventletdev/2010-October/000907.html
Eventlet is a concurrent networking library for Python that allows you
to change how you run your code, not how you write it. As of the next
release it will support building apps with zeromq. This means that you
will be able to write concurrent code with the communication backed by
zeromq. Here's an example of this (which Brian Granger mentioned a few
days back):
http://bitbucket.org/which_linden/eventlet/src/tip/examples/distributed_websocket_chat.py
and
http://bitbucket.org/which_linden/eventlet/src/tip/examples/chat_bridge.py
Less than 140 LOC gets you a distributed chat system that supports
multiple servers.
Enjoy!
Ben
More information about the zeromq-dev
mailing list