WebSockets vs Polling vs Server Sent Events

Hi everyone, In this video, we are going to talk about Real-time applications. We will have a look at what are WebSockets, Polling, Short Polling and Long Polling and Server Sent Events. We will understand all different ways to create real time applications including WebSockets, Polling, Short Polling and Long Polling and Server Sent Events. Quick Links Web Dev Cohort: https://to.piyushgarg.dev/cohort Full-Stack AI with Python: LLMs, RAG, Agents & LangGraph: https://to.piyushgarg.dev/udemy-ai Master Docker: https://to.piyushgarg.dev/docker Timestamps 00:00 Introduction 00:50 Request Response Cycle 02:20 Problem of Real Time Communication 05:30 WebSockets - Full Duplex Real-Time Communication 12:30 Polling - Short Polling and Long Polling 23:24 SSE - Server Sent Events 25:40 Outro Video Titles What are WebSockets? What is Polling in Networking and Real Time Applications? What is Short Polling? What is Long Polling? What are Server Sent Events? How to Build Real Time Applications? Hashtags #systemdesign #websocket #coding #nodejs #javascript #backendwebdevelopment #fullstackwebdevelopment #javascript #api #faang #programming