advancedServer-Sent Events & Real-Time
What is the difference between Server-Sent Events (SSE), WebSocket, and polling — when should you use each?
Tests whether you know SSE fits one-way server-to-client streaming, while WebSocket is needed for genuine bidirectional communication.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
What is the difference between Server-Sent Events (SSE), WebSocket, and polling — when should you use each?