Search code examples
pythondjangoweb-applicationsreal-time

Django alternatives for real time web applications


I've been developing a web server application with Django for the last year. The stack is Django + Apache + MySql. This stack was perfectly suited to our needs. Recently came the need of some real-time capabilities and the opportunity to change/rewrite a lot of stuff in the server application. To my surprise, Django is not the best option here.

I've been reading a lot (push, WebSockets, gunicorn... lots of stuff.. http://curella.org/blog/django-push-using-server-sent-events-and-websocket/) but I haven't managed to decide if I want to go with Django or if I should purpose a new stack of software which is more suitable for the job. Going with Django seems a little bit unnatural. Can any experienced developers point me in the right direction?

So, the basic question is: what are some alternatives to the current software stack I have for building a real time web application?

Thanks

PS: Not a native English speaker. :)

EDIT: The alternatives need to allow secure connections.

EDIT 2: The web applications we develop are games.


Solution

  • Look into http://www.tornadoweb.org/ + http://www.mongodb.org/ + https://github.com/bitly/asyncmongo + http://socket.io/ I think it's a good idea to use that to create real-time application.