I have a table in a view (its a partial) that is updated from every 5
seconds as the shortest frequency to as long as manual by the user based
on some configuration parameters.
With the periodically_call_remote it appears as though I am getting
subsequent calls going out even though I have one or more pending?
Although the call is asynchronous I thought calls went out only when the
completion of previous calls occurs. Meaning, even if my interval might
have been exceeded it won’t send out the next request until the previous
comes in. This seems an issue as the load on the server increases the
probability of missing the interval window increases as well.
Is this not true? If not, how does one manage avoiding parallel calls?
Would I be better off to dynamically create a single periodic call per
generation of the partial that is updated as a result of the AJAX call?
Also, if I have a pending call and the user moves to a different page
before the response comes in I get prototype errors in the firebug
console. None of them cause crashes etc, but I thought this would be
Any information is appreciated on any of these points.