I am new to Django & building my own application. I want to integrate notification system (Personal, Group Level & Broadcast) from server to end user. whenever he logs into his account, notification bar displays like in facebook.
Currently Using: Django 1.8 & Python 2.7
I have gone through number of link or blogs to get to know. I came through few options as follows:
Django gevent Socketio: Not supported for Django 1.8 I have done everything in Django 1.8 till yet. Please let me know, how much problems may I face while switching to Django 1.6 in terms of support & functionality.
Pusher: I am not much aware of. how much it is feasible & useful to use Pusher into current existing app. Are there any compatibility Issues?
Swampdragon: Seems like some compatibility issues with Django 1.8
Django-Tornado, Centrifuge: I am bit afraid to change the whole code. Also, not aware of future issues, I might face.
My Questions:
Please explain which one should be best to select as it is difficult to move to another on later stage.
Also, switching to Django 1.6 is a better idea to support Swampdragon & Django Socketio.
Please provide links that may help.
If I am wrong, Please correct. I need your valuable suggestions.
I'm researching the same. There are some open source but customizable solutions like,
Out of them, I'm thinking of tyring out django-websocket-redis
as I use nginx+uwsgi server setup and also it looks promising. BTW, it would be useful for everyone if you share what you found.
And to your questions,
1) Swampdragon+Pusher is neatly a good combo as it reduces a lot of core things needs to be implemented.
2) Backporting is not always a good practice. Never do that unless it blocks your app development.
UPDATE: Now we have Django channels(officially acknowledged). I'm using it for one of my live projects, and so far it performs well for real time updates with a few tons of users.