Questions tagged [long-polling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
3k views

How to handle 20k concurrent persistent connections

I'm trying to design an architecture to handle massive TCP socket connections and I'm in doubt on the limits of this architecture. I'll have to handle ~20k concurrent TCP connections and these are ...
Aldebaran's user avatar
  • 335
3 votes
0 answers
1k views

Performance issues with Apache + Django + socket.io (long-polling) + Proxy

I'm trying to set up a website with django, apache and socket.io. Thanks to some tutorials and other stackoverflow questions, I managed to make everything work, except for a severe lag, that occurs ...
basilikum's user avatar
  • 217
2 votes
1 answer
2k views

Long Polling Options: Nginx, PHP, Node.js

Also posted here: https://stackoverflow.com/questions/8839295/long-polling-options-nginx-php-node-js I'm designing a long-polling app to broadcast small changes very rapidly to, possibly, a large ...
thelastshadow's user avatar
2 votes
0 answers
245 views

mod-mono-server4.exe using 100% of CPU on Ubuntu 14.04.1 LTS

I have an ASP.NET application that uses some long polling magic. The problem comes when the server has accepted some requests and it's just waiting to return them. If I restart apache in that moment ...
Hristo Kolev's user avatar
1 vote
1 answer
1k views

nginx detecting dead clients

Normally when you pull the network cable out of a network device (which simulates some drop on the network, so an obscure disconnect), the underlaying sockets do not detect a disconnect (at least our ...
Lonko's user avatar
  • 115
1 vote
1 answer
890 views

Apache processes become stale but won't time out

I'm having an issue with apache2 httpd. The apache is using mpm_prefork and the web application uses php. I noticed that the machine where the apache runs suddenly drops to 0% cpu usage during the ...
PhilippN's user avatar
1 vote
1 answer
3k views

Nginx & long poll: Best practices to reduce memory and bandwidth footprint

I use nginx in this mode for BOSH and chat clients along with gzip. location ~* /http-bind/ { proxy_buffering off; keepalive_timeout 55; access_log off; tcp_nodelay on; ...
Quintin Par's user avatar
  • 4,443
1 vote
0 answers
356 views

nginx proxy long polling

We have a web app that requires a GET endpoint (that compute a long task) to be transformed to delegate the task to a worker (with a POST endpoint to create the task that will be delegated to worker, ...
nicoqwil's user avatar
1 vote
0 answers
184 views

How do I use AWS Elastic Beanstalk Enhanced Health monitoring with a long polling app?

With AWS Elastic Beanstalk, I have an app setup with enhanced health monitoring. However, the app uses long polling so that it can sync between a mobile app and the web app. The long poll is a 60 ...
Matt H's user avatar
  • 111
0 votes
2 answers
645 views

Does http protocol standard support long polling?

I recently read about long-polling concept which can be used with http. I want to understand, if any http protocol standard itself supports long-polling concept, so that depending on how client ...
BioLogic's user avatar
0 votes
0 answers
80 views

Nginx configuration to prevent spam connections on HTTP long polling endpoint [duplicate]

I have a HTTP long polling endpoint that anyone can connect to for updates. The nature of the application requires the solution to be open, it cannot sit behind any form of authentication. The server ...
S-K''s user avatar
  • 1,311
0 votes
0 answers
665 views

SignalR long pooling disconnecting silently on IIS 7.5 and Windows Server 2008 R2

(I asked this question on StackOverflow, and it contais code I ommited here, but I think it would be suitable to ask it here aswell, since it's a network issue I'm facing) I have an API (WebAPI) with ...
Mari Faleiros's user avatar