Does anyone know how to implement comet in Drupal? I saw a rudimentary PHP implementation on Stack Overflow. Is there any module which does this?

1 Answer 1


As written in that answer, that is blocking a whole apache thread and therefore not a good idea.

I suggest you have a look at http://drupal.org/project/nodejs. node.js is an event-based webserver written in JavaScript and that is the module that integrates it with Drupal. Then, your clients keep a connection option with the node.js server and you can contact them through that server.

The project is still in development, I don't know how well it is working already.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.