Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a technique in which you don't end the response and this allows you to send content to the client in chunks like pieces of javascript or maybe xml document that can be parsed on the client side and give an effect of updating something in real time instead of polling the server again and again.

Was there such a technique or am I dreaming? Do you have reference to an online article explaining this?

share|improve this question
its called [Long Polling][1] [1]:… – Hasan Khan Oct 3 '11 at 11:49
It's not long polling. In long polling, there is a long timeout on a request. The request/response isn't "never ending" at all. – Thomas Owens Oct 3 '11 at 11:53
It is called Http Streaming – rpgmaker Oct 3 '11 at 13:50
up vote 4 down vote accepted

You're definitely describing push technology, and it sounds like you're describing what's called "pushlet" on Wikipedia. I've heard of this technique, but I wasn't aware of its name until just now. It appears this name is more widespread, with a website dedicated to explaining how to use pushlets.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.