Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [long-polling]

The tag has no usage guidance.

0
votes
0answers
12 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 ...
0
votes
0answers
243 views

Long polling on an apache / PHP server

Short version: is apache + PHP a terrible idea for long polling, even though it technically works? If so, what's a good alternative while still using apache? Long version: I have a javascript/PHP ...
0
votes
0answers
255 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 ...
2
votes
0answers
158 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 ...
1
vote
0answers
113 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 ...
1
vote
1answer
537 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 ...
3
votes
0answers
864 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 ...
6
votes
2answers
2k 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
2k 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; ...