You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by natron <na...@adelphia.net> on 2006/04/17 19:07:00 UTC
AMQ on Linux Fedora Core 4
Hi,
I am having problems with performance when using message driven pojos added
into my activemq.xml file but ONLY when I try to run in Linux. I have a
requirement to handle approx. 1000 msg/sec - something that AMQ can do quite
easily with the message sizes of my system. The problem is, as soon as I
add in any sort of MD POJO, performance instantly falls to approx 25
msg/sec.
We are using AMQ 4 SNAPSHOT version
Sun jdk 1.5.x
Linux Fedora Core 4 with all patches.
HP Proliant DL 360 G4 servers with 2, 2.8 Ghz processors (we've tried
running with SMP kernal and standard kernal)
We have tried multiple versions of the JVM, multiple different POJO's all
with the same effect.
FYI - The *exact* same code/configuration runs blazingly fast on my puny
Dell laptop running WinXP Pro which is why I am confused. Unfortunately, I
do not have the freedom to test installing WinXP on my servers so I am
hoping that someone else maybe has run into this problem.
Any ideas?
Thanks very much,
Natron
--
View this message in context: http://www.nabble.com/AMQ-on-Linux-Fedora-Core-4-t1462741.html#a3953433
Sent from the ActiveMQ - User forum at Nabble.com.
Re: AMQ on Linux Fedora Core 4
Posted by natron <na...@adelphia.net>.
I am reusing the same producer/publisher for each message. I create one and
use it throughout the life-cycle of the class object.
--
View this message in context: http://www.nabble.com/AMQ-on-Linux-Fedora-Core-4-t1462741.html#a3974522
Sent from the ActiveMQ - User forum at Nabble.com.
Re: AMQ on Linux Fedora Core 4
Posted by James Strachan <ja...@gmail.com>.
This does all sound quite bizarre :)
I wonder, are you creating and reusing the producer/publisher for each
message; or are you creating a new producer for each message that you
send? (You should always do the former).
http://activemq.org/How+do+I+use+JMS+efficiently
On 4/17/06, natron <na...@adelphia.net> wrote:
>
> Seems like I have found somewhat of a work-around.
>
> In my MD POJO I was creating a "TopicPublisher" for publishing messages.
> When I instead use a "MessageProducer", the problem basically goes away.
>
> I would be interested to know if anyone else has experienced a similar
> problem.
>
> Natron
> --
> View this message in context: http://www.nabble.com/AMQ-on-Linux-Fedora-Core-4-t1462741.html#a3956338
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
Re: AMQ on Linux Fedora Core 4
Posted by natron <na...@adelphia.net>.
Seems like I have found somewhat of a work-around.
In my MD POJO I was creating a "TopicPublisher" for publishing messages.
When I instead use a "MessageProducer", the problem basically goes away.
I would be interested to know if anyone else has experienced a similar
problem.
Natron
--
View this message in context: http://www.nabble.com/AMQ-on-Linux-Fedora-Core-4-t1462741.html#a3956338
Sent from the ActiveMQ - User forum at Nabble.com.