Forum: Ruby on Rails realtime updates

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
474ed4b59445e6e613250c353091f942?d=identicon&s=25 Fokke de Jong (Guest)
on 2006-05-23 12: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?


thanks,
fokke
30269682335f1fb247d71969fa715b5e?d=identicon&s=25 Roberto Saccon (rsaccon)
on 2006-05-23 12:32
(Received via mailing list)
There is no easy way to do that, google for RealTimeRails or Comet to
see
about possible approaches
474ed4b59445e6e613250c353091f942?d=identicon&s=25 Fokke de Jong (Guest)
on 2006-05-23 14:40
(Received via mailing list)
thanks, i fwill check it out!

fokke
This topic is locked and can not be replied to.