QuizNot attempted
Real-time updates
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
- WebSocket · Server-Sent Events · polling
- Chat needs both directions with low latency (WebSocket)
- scores only flow server to client (SSE: a one-way HTTP stream with auto-reconnect)
- a status that changes every few minutes doesn't justify a persistent connection (polling).
- Not Polling · WebSocket · SSE: polling is too laggy and wasteful for chat.
- Not SSE · polling · WebSocket: SSE can't send client messages, and a socket for rare updates is overkill.
- Not WebSocket for all three: works, but adds connection management where simpler tools suffice.
- Pick the least complex tool that meets the latency need.