System Design · Junior · Question 23 of 75
What is polling?
- ✓Correct answer: The client periodically asks the server whether there's new data
- 2The server pushes data to the client over an open connection
- 3Users voting for new product features
Explanation
The simplest way to get updates: a request every N seconds. Downsides: up to N seconds of delay and empty requests. Alternatives: long polling, SSE, WebSocket. For infrequent updates, polling is often enough.