You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by lzr <js...@163.com> on 2011/11/28 03:20:40 UTC
About the efficiency of the consumer creation.
Hi all,
For my business requirement I need to create the consumer frequently with different message selector.
During my test, I found it down the speed so much than using stable consumer!
How should I do to improve the performance?
Thanks a lot in advance,
Zhuran Li
Re:Re: About the efficiency of the consumer creation.
Posted by lzr <js...@163.com>.
I make 3 threads in my program and each maintain a Connection.
There are four queues in my flow, two for request and two for response.
At 2011-11-28 19:18:27,"Gary Tully" <ga...@gmail.com> wrote:
>are you already caching connections? That will help a bit.
>
>What version are you on? there was some contention over an internal
>destination map that could be causing some trouble, a few periodic
>thread dumps of the broker would help identify if that is the problem.
>
>see: https://issues.apache.org/jira/browse/AMQ-3454
>How many destinations do you have?
>
>2011/11/28 lzr <js...@163.com>:
>> Hi all,
>>
>>
>> For my business requirement I need to create the consumer frequently with different message selector.
>> During my test, I found it down the speed so much than using stable consumer!
>> How should I do to improve the performance?
>>
>>
>> Thanks a lot in advance,
>> Zhuran Li
>
>
>
>--
>http://fusesource.com
>http://blog.garytully.com
Re: About the efficiency of the consumer creation.
Posted by Gary Tully <ga...@gmail.com>.
are you already caching connections? That will help a bit.
What version are you on? there was some contention over an internal
destination map that could be causing some trouble, a few periodic
thread dumps of the broker would help identify if that is the problem.
see: https://issues.apache.org/jira/browse/AMQ-3454
How many destinations do you have?
2011/11/28 lzr <js...@163.com>:
> Hi all,
>
>
> For my business requirement I need to create the consumer frequently with different message selector.
> During my test, I found it down the speed so much than using stable consumer!
> How should I do to improve the performance?
>
>
> Thanks a lot in advance,
> Zhuran Li
--
http://fusesource.com
http://blog.garytully.com