long-polling
PHP longpolling running endlessly
Iam building a website with chat functionality and I need to keep track of online and offline users. For keeping track of online users I am using this table[详细]
2023-04-01 01:00 分类:问答NodeJS HTTP request connection's close event fired twice
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:[详细]
2023-03-31 13:24 分类:问答JVM-based longpoll/comet client: routers killing idle connections
I currently have a JVM-based network client that does an HTTP long poll (aka comet) request using the standard java.net.HttpURLConnection. I have timeout set very high for the connection (1 hour). For[详细]
2023-03-31 09:10 分类:问答What benefits does long-polling have in php?
Say I am creating a webchat, where the chat messages are stored in a SQL database (I don\'t know how else to do it), what benefits does using AJAX to long-poll instead of simply polling every x s开发者[详细]
2023-03-31 08:11 分类:问答Long Polling/HTTP Streaming General Questions
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. However[详细]
2023-03-30 22:59 分类:问答IE8 stops network access after 5 long polling request
I am using Long Polling as a push mechanism in my system. It is working fine in Firefox & Chrome, but in IE8 the behaviour is quite strange:[详细]
2023-03-30 15:33 分类:问答Problems when storing WebSocket connection handle objects using jQuery.data() -- what's the best thing to do?
I have an asynchronous queue worker running as a Tornado script on my server -- it hosts a subclass of Tornado\'s PeriodicTask, which consumes events from Redis. To monitor the queue, I set up a torna[详细]
2023-03-28 12:08 分类:问答How long before a browser request dies?
I\'m trying to implement some push technology on an app of mine. I intend to use node.js for that but I don\'t think it is relevant for my question. What I will do is basically long-polling to the ser[详细]
2023-03-28 09:58 分类:问答Live (long-polling) connection to Django, via Nginx (or apache) – reducing the number of queries
I have table something like this: class last10msg(models.Model): user = models.ForeignKey(User) date = models.DateField()[详细]
2023-03-26 05:33 分类:问答Long Polling using jQuery and PHP
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[详细]
2023-03-25 08:01 分类:问答