|
|
|
|
|
by andrewstuart2
4047 days ago
|
|
SSE is awesome, and Gin seems to have a nice implementation. I definitely like the usage for realtime streaming stats since that's a one-way stream. Chat, however, would be better served with websockets. If it's bidirectional, use websockets and avoid both upstream and downstream cost of setting up a connection. SSE works, but you should consider it tech debt if you decide to go that way. </psa> |
|
Here's a recent article about Secret using POST for sending: https://medium.com/@davidbyttow/scaling-secret-real-time-cha...