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...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
What real resource cost does an open WebSocket connection impose that a typical stateless HTTP request doesn't?
A
No difference in resource cost at all
B
It consumes server memory and a file descriptor for the ENTIRE lifetime of the connection, not just the duration of a single request
C
WebSocket connections use no server resources whatsoever
D
Only the client bears any resource cost
Check Answer