Polling is the act of checking for new data every x seconds, and immediately discovering whether it's available or not (server immediately responds even if no data).
Long polling is when the client makes a request and if no new data can be immediately returned, remains idle for as long as possible until the server has something to return or a timeout occurs (generally 60 seconds)
Polling is the act of checking for new data every x seconds, and immediately discovering whether it's available or not (server immediately responds even if no data).
Long polling is when the client makes a request and if no new data can be immediately returned, remains idle for as long as possible until the server has something to return or a timeout occurs (generally 60 seconds)