Re:Show HN: Golongpoll – Go HTTP longpolling library
by jkarneges on Wednesday November 11, 2015 @12:17PM
(#10547725)
Great to see this. I am a big fan of long-polling. Too many people only think of it as some hack underlying libraries like Socket.io or SockJS, but this is because they've not seen how clean a long-polling API can actually be.
[ Parent
| on HN ]
Re:Show HN: Golongpoll – Go HTTP longpolling library
by jcuga on Wednesday November 11, 2015 @04:08PM
(#10549286)
Yeah. I originally started out using SSE but I ended up settling on longpolling because of wider browser support and the fact that there are issues with SSE even on newer browsers and polyfills. The knee-jerk reaction nowadays is to use websockets for everything, but sometimes simple is better.
Re:Show HN: Golongpoll – Go HTTP longpolling library
by bittersweet on Thursday November 12, 2015 @03:35AM
(#10551984)
I've been using SSE with Go for personal projects, so just one browser, could you expand on the issues you mentioned? I'm curious if it is indeed as bad as you say.