Solved

HTTP Polling

Posted on 2014-10-21
3
173 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
Comment Utility
Yes
0
 
LVL 28

Assisted Solution

by:becraig
becraig earned 333 total points
Comment Utility
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 28

Accepted Solution

by:
becraig earned 333 total points
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now