fullstackpython.com icon indicating copy to clipboard operation
fullstackpython.com copied to clipboard

Websocket article describes polling instead of long-polling

Open mkonecny opened this issue 10 years ago • 0 comments

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)

mkonecny avatar Jan 16 '16 20:01 mkonecny