activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From czy11421 <czy11...@gmail.com>
Subject Re: way to speed up the message publishing ?
Date Mon, 21 Sep 2009 22:52:30 GMT
Bruce Snyder wrote:
> On Mon, Sep 21, 2009 at 2:12 PM, czy11421 <czy11421@gmail.com> wrote:
>   
>> Do we have a way to speed up the message publishing ? For testing the
>> workload,  I want the Market Data Publisher Demo will publish message in
>> every 100ms, how to do it ?
>>     
>
> Using async sends usually speeds things up:
>
> http://activemq.apache.org/async-sends.html
>
> Bruce
>   
I found another way, if we just want a simple test, change the refresh rate,

http://localhost:8161/demo/portfolioPublish?count=1&refresh=*0.1*&stocks=IBMW&stocks=BEAS&stocks=MSFT&stocks=SUNW

don't know how ActiveMQ implemented it in java side...

Thanks.

Mime
View raw message