Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by lakomen on Monday March 18, 2024 @07:58PM
(#39751497)
SSE in gin (go) is broken and has been for years. No one uses it and no one bothers to fix it.
[ Parent
| on HN ]
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by hobobaggins on Monday March 18, 2024 @08:04PM
(#39751545)
r3labs/sse seems pretty good, but doesn't seem to handle backpressure or defend against slow-client attacks. (actually, I haven't seen any libs that do.. maybe this isn't a problem for anyone?) You could roll your own, since the protocol is extremely simple.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by nchmy on Tuesday March 19, 2024 @11:22AM
(#39756699)
Good thing there's other ways to implement SSE - be it in Go or many other servers and languages...
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by WuxiFingerHold on Wednesday March 20, 2024 @12:16AM
(#39762817)
That's a really small data point. I bet there're many projects using Go with SSE.