Re:Show HN: Mogo Chat – open-source team chat app written in...
by untog on Wednesday March 26, 2014 @12:20PM
(#7474448)
Well it isn't difficult to detect that case and drop back to polling (which should have the exact same latency anyway). Aiming for lowest common denominator in this stuff seems unwise.
Re:Show HN: Mogo Chat – open-source team chat app written in...
by SingAlong on Wednesday March 26, 2014 @12:52PM
(#7474656)
Totally agree. That's the right way to do it.
MogoChat is right now a one-man project, so supporting websockets and then polling seemed tedious, especially with something like Faye or SocketIO missing in Elixir. Phoenix Framework will soon have a high level abstraction over websockets (with Faye-like features). Once that's in, I'll be able to use it.
Websockets disconnects for me frequently. So during reconnection, I'll have to reauth in my case.