activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: very slow consumer cpu 100%
Date Wed, 02 Aug 2006 06:20:43 GMT
On 8/1/06, shital <shitalbpatel@optonline.net> 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/

Mime
View raw message