Forum: Ruby on Rails realtime updates

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fokke de Jong (Guest)
on 2006-05-23 14:19
(Received via mailing list)
hi all,

i'd like to updates some values on my site in realtime as other users
change them. So when one visitor moves a slider the others will see a
value updated in realtime. How should i go about this? One thing i
can do is use periodically_call_remote to check if values have
changed. But i think this will be a bit inefficient as i need to
update about 10 times a second. I i would rather do a remote_function
that blocks (on the server) until someone changes a value. I've tried
this but the whole server seems to block (i'm using a condition
variable). What would be the 'correct' way to go about this?

Roberto S. (Guest)
on 2006-05-23 14:32
(Received via mailing list)
There is no easy way to do that, google for RealTimeRails or Comet to
about possible approaches
Fokke de Jong (Guest)
on 2006-05-23 16:40
(Received via mailing list)
thanks, i fwill check it out!

This topic is locked and can not be replied to.