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
hard
API Development
What server-side race condition does long-polling need to explicitly handle?
A
There is no race condition to handle in long-polling
B
The timeout callback and the real-event callback both racing to send a response — only one can actually respond per request, so the other must be a safe no-op
C
A race between two different clients making the same request
D
A database connection pool race unrelated to the polling logic
Check Answer