Autobahn and Crochet

#1

Hi,

just a quick announcement (I probably write a blog post).

As a follow up to

http://tavendo.com/blog/post/going-asynchronous-from-flask-to-twisted-klein/
http://tavendo.com/blog/post/mixing-web-and-wamp-code-with-twisted-klein/

I created 2 examples using Crochet - this allows to run Autobahn/WAMP asynchronous code from a blocking WSGI based server like Flask.

E.g. here is real-time notifications:

https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/app/crochet/example1/server.py

The difference to using Twisted Klein:

You don't have to migrate code from Flash to Klein, and can run under your fav. blocking WSGI thing.

Cheers,
/Tobias

PS: I am aware that above is probably too fast / confusing. It's for those that roughly know about all those things already.

0 Likes