COMET is getting some attention as an alternative to frequent polling by the client. See http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications.
Some think it is a bad idea, so we should proceed with caution if at all.
COMET is getting some attention as an alternative to frequent polling by the client. See http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications.
Some think it is a bad idea, so we should proceed with caution if at all.
Comments
Comment #1
moshe weitzman commentedanother good page: http://ajaxpatterns.org/HTTP_Streaming
Comment #2
Anonymous (not verified) commentedyeah, i've read about this stuff, and its certainly sexy.
but its just not really an option for the chatroom any time soon, IMO, though. i think it would limit the installability of the chatroom if it required a server setup that was ready for this sort of connection model.
Comment #3
darren ohComment #4
ManyNancy commentedThere should probably be a larger comet api module that all modules can plug into for all sorts of real time delivery.
Comment #5
ManyNancy commentedIt's been 3 years since this was closed and the world has changed a lot since then. Now everyone and their grandpa is using comet long polling to create real time chat systems, gmail, gwave, facebook, etc.
This is definitely the way forward and needs to be looked at again. There are numerous backend frameworks available, though choosing one is its own challenge.
Comment #6
Anonymous (not verified) commentednope. what has changed about apache + mod_php being a very bad fit for comet?
i *will not* implement a system that keeps a TCP connection open for an extended period of time while most drupal sites run apache + mod_php.
Comment #7
ManyNancy commentedBut clearly you don't use mod_php, or even php, for comet. Technology is moving forward, and other languages will be required for future systems. Plenty of shared hosts, such as dreamhost, supports python.
I don't think real time should be ignored by drupal, otherwise it's going to look very dated in a year or two.
Comment #8
Anonymous (not verified) commentedyou're missing the point. chatroom module will not require that users setup and run anything other than the webserver that they run drupal on, period. its that simple.
recently i built an simple app with this:
http://www.tornadoweb.org/
was fun, python is my favourite language. but no, i'm not going to require it, or anything like it, for this module.
Comment #9
ManyNancy commentedBut why? Solr integration requires java. Nobody has complained about that, as far as I know.
Comment #10
ah0 commentedany updates on usage of COMET in the chatroom or any other drupal modules?
any comments would open up the conversation,
thanks,
Comment #11
darklrd commentedIntegration with Node.js is there.