DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
System Design Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
System Design
What role does pub/sub play in a horizontally-scaled WebSocket architecture?
A
It replaces the need for WebSocket connections entirely
B
Every server instance subscribes to a shared channel; a message is published there and fans out to every instance, each of which checks whether it holds the target recipient's connection
C
It only matters for logging, not message delivery
D
It's used to load-balance new connections, not deliver messages
Check Answer