Open johnjelinek opened 10 years ago
@johnjelinek This looks like a fantastic replacement.
@yaru22 What do you think about SockJS?
Just some thoughts here...
I've seen a few people saying not to use socket.io
0.9 as it doesn't scale horizontally and susceptible for DDoS attack and I'll take their advice. However, socket.io
seems to be in active development for 1.0 release and so is engine.io
(communication layer for socket.io
but you can use it without socket.io
).
Looking at lib/
directory in SockJS, it seems like most of the code hasn't been updated in a while. Maybe it means the library is quite stable?
The approach I would suggest is using primus
with SockJS
or engine.io
or whatever primus
supports. This way, we can easily switch among SockJS
, engine.io
, etc.
Read this just FYI http://stackoverflow.com/a/18304517/448017.
What do you guys think?
Yea, I think primus + SockJS makes sense.
+1 to SockJS after client side DDoSing server. Great seed though :)
Can we migrate to SockJS instead of Socket.io?