Skip to content
Hard Design: Chat System (WhatsApp/Slack)

What is the 'session affinity' or 'sticky session' problem with WebSocket servers?

— Tests your understanding of this concept.

Answer Options

A Users can only connect to one server forever
B Standard load balancers route WebSocket upgrades incorrectly
C WebSocket connections are stateful — user must stay connected to same server
D WebSocket requires more CPU than HTTP

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