HardDesign: Chat System (WhatsApp/Slack)

Why is WebSocket preferred over HTTP for a chat application?

Tests your understanding of this concept.

Answer Options

AWebSocket is faster to implement
BWebSocket is bidirectional and maintains persistent connection
CWebSocket works without internet
DWebSocket handles authentication better

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Chat System (WhatsApp/Slack) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Chat System (WhatsApp/Slack) topic (System Design Cases).

More Design: Chat System (WhatsApp/Slack) Questions