long-polling Questions

1

Solved

I'm trying to implement an http long polling server in Node.js, and have no idea how to close/shutdown pending requests if a timeout is reached. 3 possible solutions come to my mind: Store the p...
Xavierxaviera asked 27/3, 2012 at 18:4

2

Solved

Hopefully I can explain this well enough. I am working on creating a PHP library to handle ajax requests through PHP in an object oriented manner. I am currently pondering a good way to implement a...
Basie asked 16/3, 2012 at 2:2

2

I'm designing a long-polling app to broadcast small changes very rapidly to, possibly, a large number of users. The app will run in tandem with a website running a fairly standard cms. They'll both...
Marelda asked 12/1, 2012 at 17:17

4

I'm trying to write simple web application using Tornado and JS Prototype library. So, the client can execute long running job on server. I wish, that this job runs Asynchronously - so that others ...
Gorga asked 23/2, 2010 at 11:0

2

Solved

I implemented a chat, using ajax long polling and Gevent. To read, the client ajax the update view and wait with Gevent.event.wait for an update. Problem: The Postgresql transaction opened by D...
Palmette asked 15/2, 2012 at 23:36

1

Solved

I'm trying to implement long polling using Netty and jQuery. I have it working correctly with Chrome and Firefox, but Internet Explorer 8 is causing me problems. I'm executing the following code ...
Horta asked 6/2, 2012 at 23:57

2

Well, there's a lof of information about websockets. The technology itself is amazing, there's no doubt in this fact. And before i will start using them in my app i just want the community to answe...
Pasteurize asked 6/1, 2012 at 13:39

2

Is it possible to take an HTTPServletRequest away from its thread, dissolve this thread (i.e. bring it back to the pool), but keep the underlying connection with the browser working, until I get th...
Gudgeon asked 10/11, 2011 at 15:24

2

Solved

I'd like to build a multiplayer web game application in which it supports chat. I presume the application will have to handle hundreds of simultaneous connections. I'm planning to host my applicat...
Geostrophic asked 7/10, 2011 at 7:33

2

Solved

For days I have been experimenting with long polling/comet implementation for my site. I got the basic idea of how it works, this is where i run some tests. On the other hand, I have been observi...
Exactitude asked 26/9, 2011 at 4:13

2

I'm currently developing a site in Django that I'd like to implement some sort of quasi-realtime update system for. Since this site is intended for mobile devices, I was wondering what the perfor...
Flinders asked 8/6, 2011 at 19:12

2

Solved

I'm trying to make a theoretical web chat application with php and jquery, I've read about long polling and http streaming, and I managed to apply most principles introduced in the articles. Howeve...
Herzl asked 27/8, 2011 at 9:5

1

Solved

I am using Firefox, but I'd like to know how browsers decide this in general. It seems that when I access the same URL twice in a short amount of time, my browser tries to re-use the TCP same con...
Sciurine asked 5/9, 2011 at 15:58

0

I'm working on realtime AJAX application with long polling in NodeJS. I would like to detect when user closes the tab with pending long-polling request. I use NodeJS connection close event: reques...
Ardoin asked 28/8, 2011 at 15:44

3

I know there are Comet server technologies that do this but I want to write something simple and home-grown. When a record is inserted into a MySQL table, I want it to somehow communicate this da...
Remora asked 15/9, 2010 at 17:31

1

Solved

Let's say i was writing an aplication where'd i'd need to get notifications in real time from a server, and let's say those notifications are stored on a mysql database. For me to get them i'd hav...
Revere asked 15/8, 2011 at 18:49

4

Solved

I'm working on a browser game with the play framework, and I definitely need longpolling, but I don't quite understand how to use it. WebSockets would be perfect for this, but it's not supported by...
Bothy asked 27/7, 2011 at 11:27

1

So, I've been trying to do Long-Polling using the jQuery Library and PHP. I'm doing this so I can make some sort of real-time notifications system in the future. The code I have now isn't really wo...
Fanestil asked 5/8, 2011 at 11:30

3

Solved

I have a long polling request on my page. The script on the server side is set to timeout after 20 seconds. So, when the long polling is "idling", and the user presses another button, the sending ...
Monstrous asked 1/8, 2011 at 19:25

1

Solved

I'm using a sort of long polling in my Django app to return status messages about a long operation to the client as it progresses. I do this by returning an HttpResponse object in my view function ...
Schooner asked 14/7, 2011 at 18:45

3

Solved

I want to create an application like this: http://collabedit.com/ What is the most efficient way to create this real time application? Flash? Long polling? Http Streaming? or something else? Th...
Punke asked 13/3, 2010 at 21:39

2

Solved

Frameworks like Node.js, Tornado, and Twisted let developers create server-push applications that supports large number of concurrent hanging requests (10k+). From what I understand, they all achie...

1

Does anyone know how to code up long-polling AJAX requests (for server PUSH notifications) in ASP.NET MVC? Whenever I do it, it seems that only the last browser to open up a window gets the n...
Substantial asked 27/8, 2009 at 16:25

2

Solved

I have an existing app written in PHP (using Kohana framework) and I want to do long polling. From some things I read it seems that doing long polling with PHP is not advisable and using something ...
Sun asked 11/5, 2010 at 4:41

3

Solved

I've got apache as a back-end server, which runs php scripts and nginx as a reverse-proxy server which deals with static content. A php-script, which gives me ID of some process and then performs t...
Cytochemistry asked 22/1, 2011 at 4:15

© 2022 - 2024 — McMap. All rights reserved.