Telegraphy: Real-time events for WSGI Python applications
telegraphy.machinalis.com
Telegraphy: Real-time events for WSGI Python applications
1–10 of 12 posts
Re: Telegraphy: Real-time events for WSGI Python applications
#2Re: Telegraphy: Real-time events for WSGI Python applications
#3Re: Telegraphy: Real-time events for WSGI Python applications
#4Redis really just serves as our bridge, the actual pub/sub happens in socket.io in the express app. The coolest part of this is that when a Django model is updated, we serialize it to its API representation, send that through the wire. On the client, the Backbone model is bound to this event and updates in place.
Re: Telegraphy: Real-time events for WSGI Python applications
#5I think this link http://telegraphy.readthedocs.org/en/latest/intro.html is far more informative than op's. I had no idea what telegraphy was after reading the posted link.
Re: Telegraphy: Real-time events for WSGI Python applications
#6Re: Telegraphy: Real-time events for WSGI Python applications
#7Re: Telegraphy: Real-time events for WSGI Python applications
#8This seems to really help bridge a gap in django's toolbox. Working with async actions with pretty much anything other than celery processes is pretty painful. That said I'm not sure I'm a huge fan of tying the events directly to the models, I think I'd rather be able to define the events separately and call the event-firing methods via on save / on delete model methods if I wanted to the model to fire events. Seems…
Re: Telegraphy: Real-time events for WSGI Python applications
#9Sounds cool. I have also been thinking about developing a ready-made Django skeleton with an architecture similar to this. Our publishing looks like this: Django -> Redis -> Express.js -> Browser Redis really just serves as our bridge, the actual pub/sub happens in socket.io in the express app. The coolest part of this is that when a Django model is updated, we serialize it to its API representation, send that throug…
Re: Telegraphy: Real-time events for WSGI Python applications
#10I think this link http://telegraphy.readthedocs.org/en/latest/intro.html is far more informative than op's. I had no idea what telegraphy was after reading the posted link.
Yeah the architecture diagram helps out a lot. The XML-RPC link from the app to the gateway seems a bit old-fashioned. Is that common in Django?