ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
in

WebSockets in Python through
    Tornado/TornadIO2

     Tony Abou-Assaleh
     taa@titanfile.com
HTML5 WebSockets in Python/Django
Options
? Django ? Redis ? Node.js

? gevent/gevent-socketio

? Tornado/TornadIO2
The Stack

Client               Server

                     Dispatcher
                     TornadIO2
The Flow
Sender Client               Server               Recipient Client

                  Django              Django        Render
User Action
                Model Saved          post_save      changes


 Backbone         Django         Django signal     Backbone
Model Saved       Handler           handler         handler


  ioSync        TornadIO2            TorandIO2       ioBind
 Socket.io      Dispatcher           Broadcast      Socket.io
What¡¯s next?
? https://github.com/tgcondor/django-tornadio2

? Offline mode

? Sync after reconnect

? Asynchronous processing
Tony Abou-Assaleh
https://www.titanfile.com
    taa@titanfile.com
    Twitter: @tony_aa

More Related Content

HTML5 WebSockets in Python/Django