Jerome Bonnet wrote:
> 
> I have experienced with a simple application a maximum throughput of ~5
> messages per second.

That's not much! I have about 800 msg/sec (1KB size each) on a normal
machine with JDK1.3 ...

> My application is a durable subscriber on a topic
> full of messages (ie when the durable subscriber was offline, a have
> published alot of message in the topic - so the message are persistent
> ). When the durable subscriber come back online, it loops on
> MessageConsumer.receive(1000) and display the messages. Even with the
> CPU of the machine busy at only 10%, I receive the messages at a maximum
> rate of 5 per second, whereas I should expect that the CPU goes up to
> 100% occupation and the receive rate increase to a much higher value.
> 
> What can I do ? Is there a bottleneck or is this a configuration issue
> (threads ?).
> 

No.

It seems that you don't receive the messages for the durable subscriber
but the messages which are *currently* published on that topic. Have you
set your client id correctly at your durable subscriber and do you use
the same id (and durable name) on each connect? Do you receive messages
when there is no publisher active? 

May be there is some other delay within your subscriber client (within
the loop)?

That's all what I can tell you. As mentioned above, I have a rate of
800/sec also with receive(1000).

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com

------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to