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: [Spam: 5.0] Please help: Performance issue with persistence
Date Mon, 05 Mar 2007 15:28:31 GMT
If you are using AUTO_ACK then you might wanna enable async sending...

http://activemq.apache.org/async-sends.html


On 3/5/07, naga007 <NSogal@gmail.com> wrote:
>
> Let me explain in more detail.
>
> As i said, this application is a Framework for SOA based Applications(Kind
> of  similar to ServiceMix). We are using JMETER to send HttpSOAP Requests
> and these SOAP rquests gets staged in multiple queues before its gets
> deliverd to a service. So For Example if we are sending 200 SOAP Requests
> per second, this will translate into a traffic of ~400 msg/sec in ActiveMQ.
>
>   Currently we have single JMSMessageSender class, which used lingo
> onewayyrequestor to publish JMS Object messages( ~ 4K size) to multiple
> queues. The JMS Producers and Consumers use AUTO_ACKNOWLEGE mode to send and
> receive messages. We are using also Spring DefaultMessageListenerContainer
> to recieve messages with cache level set to CACHE_CONSUMER.
>
>  Regarding the measurment, Iam more concerned about throughput. My main
> suspicion is that when we use a single producer to send messages across
> mutliple destinations, there seems to be some concurrency issues also i
> didnot see much CPU spikes, but i noticed after few requests go through, i
> see pauses and thread dumps show that threads are struck on
> oneWayRequestor.send() method.
>
>
>
>
>
>
>
>
> James.Strachan wrote:
> >
> > On 3/5/07, naga007 <NSogal@gmail.com> wrote:
> >>
> >>     We are noticing significant performance degradation with persistence
> >> turned on, when the no of concurrent users is more than 50.
> >
> > What do you mean by users? Producers, consumers, sessions,
> > connections? Its a bit hard to offer advice on optimisations without
> > any real details of what your application is doing - more details
> > might help. e.g. how many messages are you trying to send; are you
> > using queues or topics, what exactly is it you are measuring, (latency
> > v throughput), are you getting spikes of cpu?
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Please-help%3A-Performance-issue-with-persistence-tf3345502s2354.html#a9313406
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

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

Mime
View raw message