Server-Sent Events Crash Course

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Tue, 14 Jul 2020 00:22:29 GMT

<p>Server-Sent Events or SSE is when the server sends events to the client in a unidirectional manner. In this video I explain Server-Sent Events and compare it to websockets and HTTP and Long Polling. &nbsp;&nbsp;Source Code https://github.com/hnasr/javascript_playground/tree/master/server-sent-events &nbsp;Resources https://developer.mozilla.org/en-US/docs/Web/API/EventSource &nbsp;&nbsp;0:00 Intro 1:50 HTTP 1.0/1.1 3:40 WebSockets 5:00 Server Sent Events 7:30 SSE Use Cases 9:00 SSE Code Example 18:00 SSE Pros &amp; Cons 25:20 Do You Need SSE? 28:30 Summary</p>