Solved

HTTP Polling

Posted on 2014-10-21
3
181 Views
Last Modified: 2014-10-22
I am looking at HTTP polling.

From the descriptions I have read, it is simply a method to periodically send a reqest to a web service (sort of like performing an update)

Is my understanding correct ?

Thanks
0
Comment
Question by:Anthony Lucia
  • 2
3 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 167 total points
ID: 40395613
Yes
0
 
LVL 29

Assisted Solution

by:becraig
becraig earned 333 total points
ID: 40395618
Good reading on this:
http://tools.ietf.org/html/rfc6202

the basic idea is that as content on the webserver changes clients should be aware.
0
 
LVL 29

Accepted Solution

by:
becraig earned 333 total points
ID: 40395647
Just to paste a snippet from the url above:
In the standard HTTP model, a server cannot initiate a connection
   with a client nor send an unrequested HTTP response to a client;
   thus, the server cannot push asynchronous events to clients.

   Therefore, in order to receive asynchronous events as soon as
   possible, the client needs to poll the server periodically for new
   content.
 However, continual polling can consume significant
   bandwidth by forcing a request/response round trip when no data is
   available.  It can also be inefficient because it reduces the
   responsiveness of the application since data is queued until the
   server receives the next poll request from the client.

   In order to improve this situation, several server-push programming
   mechanisms have been implemented in recent years.  These mechanisms,
   which are often grouped under the common label "Comet" [COMET],
   enable a web server to send updates to clients without waiting for a
   poll request from the client.  Such mechanisms can deliver updates to
   clients in a more timely manner while avoiding the latency
   experienced by client applications due to the frequent opening and
   closing of connections necessary to periodically poll for data.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question