Hi Antoine,

In the meanwhile, I got Autobahn running on Python3/asyncio.

Here is a complete example of WebSocket client and server, running on asyncio

https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/websocket/echo

and running on Twisted

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/echo

Autobahn (http://autobahn.ws/) is a feature rich, compliant and performant WebSocket and WAMP client/server framework. And it's exciting that we can support both Twisted and asyncio at the same time;)

Also: will asyncio.async schedule via reentering the event loop or how?

Off the top of my head, no. But better confirm by reading the source
code :-)

The code seems to indicate that the Task will only run after the event loop is reentered

http://code.google.com/p/tulip/source/browse/asyncio/tasks.py#157

Or do I get this wrong?

Anway, I will do some performance benchmarking to compare Twisted and asyncio ..

/Tobias

Reply via email to