0

Whats the best alternative to implement sockets with Django 1.5?

I'm willing to implement a chatroom and notification in my Django site.

I've already reviewed Socket.io and node.js but would like to know advantages/disadvantages of each.

Gustavo Reyes
  • 1,273
  • 1
  • 16
  • 30
  • Why exactly are you looking for an alternative? Have you tried anything and faced any issue? Does the alternative here mean that you can switch from Django to something else? – auny Dec 02 '13 at 17:45

1 Answers1

6

Have you looked at this post?

Chatroom using Django, Redis, Node

After doing a lot of research and reading up on other push notifications based solutions for Django such as Django Web-Sockets and reading up on the limitations of Django when using web-sockets (see this: Django Push Notifications) I decided to go with the Redis/Node/Socket.io/Django stack.

Yes this means I am having to run a minimal Node Server but that mainly just acts as a router. I am currently successfully using this solution for a few hundred users.

Community
  • 1
  • 1
Sid
  • 7,315
  • 2
  • 26
  • 41