3 ms·
They're valuable if the server is used to implement a COMET server. We maintain a large number of connections (doing overlapping long polling) and we send the
by alexkus 14y ago
They're valuable if the server is used to implement a COMET server.
We maintain a large number of connections (doing overlapping long polling) and we send the same information to each connection (about 30 times an hour at peak). Even if the query to produce that data was poorly optimised it's only being performed once and then the results pushed out to every connection.
- shenedu 14y agoYes. something like long polling do require server capable of maintaining many connections. http-kit provide `async-response` for this kind of usage: see http://http-kit.org http://http-kit.org for more detail. I am the author of http-kit, also one of the authors of delicious China: http://meiweisq.com http://meiweisq.com, trying to do some useful thing for our users (like realtime) with it. :)