Server-Sent Events (SSE) is an HTTP based communication technology that enables realtime communication from a web-server to a client. It is similar to Websockets but simpler and has few limitations. 🚀. But which one is better SSE or Websockets?
In this video, I'll explain what is Server-Sent Event (SSE), why it is better than the traditional HTTP for some-cases, how it works on top of HTTP, and the differences between SSE and Websockets. I've also included a live coding example that shows how to implement an SSE server and front-end using Node.js and HTML/JS. This video is more like a crash course that explains everything you need to understand about Server-Sent Events (SSE)
00:00 Introduction
0:09 What is Server-Sent Events (SSE)
1:09 Explaining HTTP request-response model
3:10 Problems with the request-response model
5:33 Server-Sent Events (SSE)
6:59 SSE vs WebSocket
11:30 Websocket tutorial in NodeJS
Follow me for more content on software engineering and system design related content.
Twitter - / anandrmedia
Website - anands.me
If you like my video, consider subscribing to my RU-vid channel
Thanks for watching,
👋 Anand
#serversentevents #backend #programming
16 июл 2024