News for hackers. Stuff that matters.
Re:Using Server Sent Events to Simplify Real-Time Streaming ... by baysienbob on Thursday December 01, 2022 @09:19AM (#33816514)
Cool use case and guide for implementing SSE. Interested in hearing other people’s opinions on using SSE over websockets
Re:Using Server Sent Events to Simplify Real-Time Streaming ... by phillipseamore on Thursday December 01, 2022 @01:09PM (#33820098)
If there isn't a need for binary or two-way, SSE should be used instead of WS. Two-way with REST calls and SSE as a return channel is also great when it isn't latency sensitive, an example would be adding jobs to a queue and receiving progress updates.