Short Polling & Long Polling

Chronological Source Flow
Back

AI Fusion Summary

Polling is a communication method where clients repeatedly request data from servers. Short Polling involves the client sending requests at fixed intervals, receiving immediate responses regardless of data availability, which can increase server load. Conversely, Long Polling occurs when a client sends a request and the server waits until data is ready before responding. While both methods enable clients to receive updates, Long Polling is generally preferred over Short Polling due to better performance and resource usage.
Community Comments
Loading updates...
0