Solved

HTTP Polling

Posted on 2014-10-21
3
180 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB Script to add site to Java Exception List 4 74
jar file executable 12 51
MySQL  on Tomcat 8 43
JAVA API design with micro service cloud in mind 1 10
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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.

813 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

12 Experts available now in Live!

Get 1:1 Help Now