Questions tagged [comet]
6 questions
6
votes
2 answers
How does "new message" notification work?
I'm interested to know the implementation of the 'new message' in gmail for example. I know that ajax is used, but what else it is used on the server and client side. Can you explain me the scenario?
Gmail is just a sample to sustain my question.…

dole doug
- 197
- 1
- 8
2
votes
1 answer
Is a multi-page web app unsuitable when reliable server pushes are required?
Imagine a call center web application with a soft phone that automatically detects when a call has started or the caller has hung up. The obvious approach to receiving these messages would be some kind of server push (a.k.a. Comet). It's pretty…

Mike M. Lin
- 543
- 1
- 4
- 13
1
vote
0 answers
Will comet long polling slow down the system performance regardless of the server it's hosted on?
I apply comet long polling which uses usleep inside while loop until no new data returned by server like below:
PHP
while ($currentmodif <= $lastmodif)
{
usleep(10000); // sleep 10ms to unload the CPU
…

112233
- 147
- 1
- 5
0
votes
2 answers
Comet polling eating up CPU
I'm using comet polling in Joomla (PHP) application on shared hosting. I can't use either WebSockets or Node.js, as they might not be available on client's server.
I managed to maintain only one request throughout to reduce the space it will take up…

112233
- 147
- 1
- 5
0
votes
2 answers
Should the async update-server be on the same physical server as the website?
I want to setup a comet/web-socket server for a forum sitting in front of a message queue i.e. rabbitmq, that will maintain client connections and update them about relevant events (i.e. new posts, topics, etc.)
The popular way to go about this is…

goldenarms
- 9
- 2
0
votes
2 answers
Is this RabbitMQ / sockjs pub/sub connection setup a comet solution?
My company is attempting to set up a pub/sub connection using RabbitMQ and sockjs, on Windows servers. I have two questions:
My supervisor is calling this setup a comet solution, I was wondering if that is the right terminology?
Is there a better…

AlexLordThorsen
- 405
- 3
- 12