long-polling Questions
1
What exactly is the difference between long polling and http Keep-Alive??
Doesnt http Keep-Alive solve the issue that long-polling solves??
Pesticide asked 28/6, 2013 at 6:7
2
Solved
I'm playing around a little bit with raw XmlHttpRequestObjects + Comet Long Polling. (Usually, I'd let GWT or another framework handle of this for me, but I want to learn more about it.)
I wrote t...
Penoyer asked 12/4, 2010 at 19:5
1
Below is the most simple example of my issue:
When a request is made it will print Request via GET <__main__.MainHandler object at 0x104041e10> and then the request will remain open. Good! ...
Collins asked 16/6, 2013 at 17:10
1
Solved
Normally I would use SignalR to handle any data pushing but in this case I'm using a self-hosted instance of Nancy Async Beta on the server end. I've heard its still possible to use SignalR in this...
Renatorenaud asked 15/4, 2013 at 23:56
2
Solved
Using Tornado, I have a Get request that takes a long time as it makes many requests to another web service and processes the data, could take minutes to fully complete. I don't want this to block ...
Johannajohannah asked 24/10, 2012 at 14:43
1
Let's say we have an iOS app that communicates with a web service. Some requests are delegated to another web service, so that a HTTP 200 status code is returned immediately while the operation is ...
Otti asked 10/4, 2013 at 7:50
4
Solved
I'm looking into doing some long polling with jQuery and PHP for a message system. I'm curious to know the best/most efficient way to achieve this. I'm basing is off this Simple Long Polling Exampl...
Revegetate asked 1/4, 2013 at 12:21
2
Solved
I use PHP, JS, HTML, CSS. I'm willing to learn ruby or python if that is the best option.
My next project will involve live data being fed to users from the server and vice versa. I have shell acc...
Rhynd asked 24/3, 2013 at 15:14
2
Solved
I'm wondering how Google Analytics Real Time user interface works, what's the technique ? Do they use long-polling from the client to keep the UI statistics instantly up to date by delivering realt...
Karbala asked 30/11, 2011 at 18:12
1
Solved
I have read the article Simple Long Polling Example with JavaScript and jQuery. The paragraph "Long Polling - An Efficient Server-Push Technique" explains that
the Long Polling technique combine...
Jequirity asked 12/1, 2013 at 10:35
2
Solved
I have a very simple long polling ajax call like this:
(function poll(){
$.ajax({ url: "myserver", success: function(data){
//do my stuff here
}, dataType: "json", complete: poll, timeout: 300...
Haro asked 16/12, 2012 at 20:25
1
After a week of googling and search.I am hard to find even a single tutorial about long polling from a database table instead of from a flat text file named data.text. Currently, I write manually a...
Relations asked 30/11, 2012 at 10:49
2
Solved
The client initiating long polling, calls a method on server and passes in an instance of AsyncCallback which contains the callback delegate which will be invoked when server asynchronously gets ba...
Adham asked 29/11, 2012 at 15:47
2
I recently began using PubNub in my iOS app, and am very happy with it. However, I have been looking at the other options available, such as Pusher and Realtime.co, which use Websockets. PubNub, on...
Mcminn asked 3/11, 2012 at 2:38
2
Solved
I'm implementing long polling in Play 2.0 in potentially a distributed environment. The way I understand it is that when Play gets a request, it should suspend pending notification of an update the...
Digitize asked 10/4, 2012 at 14:24
2
I'm developing android application where users can compete in some kind of battles. On the server side I need to receive requests from user for starting a battle, and then, using some algorithm, ch...
Serval asked 26/10, 2012 at 0:13
3
Solved
I'm using long polling for a chat with gevent. I'm using Event.wait() when waiting for new messages to be posted on the chat.
I would like to handle the occasion a client disconnects with some f...
Canso asked 26/7, 2010 at 12:31
1
Solved
I would like to know if there are any code references that I can follow to write a very simple example. Many posts or websites just talk about the technology.
Menagerie asked 6/3, 2012 at 7:57
1
Solved
I was reading an article about long polling at Nolithius. Under the section PHP sleeps across the entire session, it is written that the session_write_close function should be called in order to pr...
Ultraconservative asked 13/9, 2012 at 7:23
4
Solved
During create a chat system , I use a long life request to get message , and use a jquery request to send message like this :
*Send: *
$("#btn").click(function () {
$.ajax({
type: "POST",
ur...
Georgeta asked 3/8, 2012 at 8:18
1
I have a mini computer that does not support websockets that I would like to receive push notifications from a server.
The issue is that after the client connects to the server, the server respond...
Disturbing asked 27/8, 2012 at 17:20
2
Solved
I have a node.js server with socket.io:
var io = require('socket.io').listen(app);
// assuming io is the Socket.IO server object
io.configure(function () {
io.set("transports", ["xhr-polling"])...
Situs asked 11/2, 2012 at 21:29
3
Solved
I need to find a way to update a web App implemented with backbone.
The use case will be the following:
I have several Views, and each View, or maybe model/collection related to this view,
needs t...
Dalston asked 12/7, 2012 at 11:4
5
I would like to integrate the servlet 3.0 async support with spring MVC. Something like:
@RequestMapping("/chat")
@WebServlet(name="myServlet", asyncSupported=true)
public String getMessage(String...
Counts asked 27/7, 2010 at 15:35
1
Solved
I noticed the Meteor stream package here contains SockJS:
https://github.com/meteor/meteor/tree/master/packages/stream
Based on some commit messages, I'g guess Meteor use SockJS polling as it's ma...
Wesle asked 12/4, 2012 at 17:6
© 2022 - 2024 — McMap. All rights reserved.