Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
System Design for Python Juniors
›
Module 6 · Real-World System Design Cases
›
Design chat (WhatsApp scale)
quiz
83 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** Why WebSockets, not HTTP polling? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** Why WebSockets, not HTTP polling? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
The ws:// URL scheme is shorter than https://, saving a few bytes per chat metadata payload at WhatsApp scale.
B
Persistent bidirectional connection — server pushes new messages immediately without polling overhead.
C
WebSocket frames travel over a faster variant of TCP than HTTP polling, cutting per-message round-trip time in half.
D
Modern browsers require WebSockets for any messaging UI — Fetch and XHR are blocked from sending sub-second polls.
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…