Realtime updates


#1

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


#2

There is no easy way to do that, google for RealTimeRails or Comet to
see
about possible approaches


#3

thanks, i fwill check it out!

fokke