« Return to Thread: very slow consumer cpu 100%

Re: very slow consumer cpu 100%

by James.Strachan :: Rate this Message:

Reply to Author | View in Thread

On 8/1/06, shital <shitalbpatel@...> wrote:
>
> i tried sleep(..) but that is not helping me, the main thing is rate is so
> high that if i put delay then i can not see Table updating.

Just throttle the rates via sleeping; so you only actually update the
table a few times a second for low CPU boxes and allow the throttle
rate to be larger for faser boxes. Given the rate and the fact that
you are writing a rich client, why is high CPU usage such a concern?

--

James
-------
http://radio.weblogs.com/0112098/

 « Return to Thread: very slow consumer cpu 100%