Search code examples
pythondjangoasynchronoustornado

how to use tornado and django on open swift


Recently I have been working on openswift Django(1.8) with Python(3.3). I was woundering is it possible to work with Websocket along tornado and django beacuse using of tornado will be handling the request in Asynchronous IO handler. Any good suggestions.


Solution

  • There is django-channels which is an websocket implementation based on django. I would recommend taking a look. Those guys really thought on how to change django's request response paradigm in a way that it can deal with persistent connections.

    There is nice overview. They also wrote down the concepts in detail.

    Read that one regarding the comparison with tornado.