# Realtime updates

**URL:** <https://www.ruby-forum.com/t/realtime-updates/61350>\
**Category:** Rails\
**Created:** [May 23, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/realtime-updates/61350 "2006-05-23T12:19:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fokke\_de\_Jong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fokke\_de\_Jong](https://www.ruby-forum.com/u/Fokke_de_Jong)\
**Post date:** [May 23, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/realtime-updates/61350/1 "2006-05-23T12:19:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fokke\_de\_Jong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fokke\_de\_Jong](https://www.ruby-forum.com/u/Fokke_de_Jong)\
**Post date:** [May 23, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/realtime-updates/61350/2 "2006-05-23T12:32:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fokke\_de\_Jong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fokke\_de\_Jong](https://www.ruby-forum.com/u/Fokke_de_Jong)\
**Post date:** [May 23, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/realtime-updates/61350/3 "2006-05-23T14:40:30Z")

</div>

thanks, i fwill check it out!

fokke
