[Rails] Is there a huge performance difference between using multiple periodically_call_remote functions or one?

Ben Johnson
Sat, 15 Jul 2006 20:39:59 -0000

My application has multiple things on the interface that need to be
updated periodically. Some things every second, others not so much.
Some of these things are global, meaning they are on the interface at
all times, and some of these things are view specific. So what I
figured I would do is add the periodically_call_remote function for
the global elements and another one for the view specific elements.
The problem is, at times, there are 2 or 3 periodically_call_remote
functions running at the same time. Is this bad for performance?
Would it be better to call that function once and just pass it the
view that I''m on and give back anything that the view needs?
Basically merge these 3 function calls into one.

Thanks for the help.

Thank You,
Ben Johnson
E: bjohnson@contuitive.com



-------------- next part --------------
An HTML attachment was scrubbed...