Skip to content
Advertisement

Tag: long-polling

polling vs long polling

I got onto these examples showing polling vs long-polling in javascript, however I do not understand how they differ from one another. Especially regarding the long polling example, how does it keep its connection open? This is what the traditional polling scenario looks like: and this is the long polling example: Thanks! Answer The difference is this: long polling allows

Advertisement