on 06-03-2005 7:00 PM
I need to get as many messages as I can to go thru the JMS queues, is there any way to improve the JMS Queueing performance for PTP ?
Thanks, John
Hi John,
Briefly:
Start the consumer before you start the producer so that the initial messages do not need to queue.
DUPS_OK_ACKNOWLEDGE and AUTO_ACKNOWLEDGE perform better than CLIENT_ACKNOWLEDGE.
Use separate transactional sessions and non-transactional sessions for transactional and non-transactional messages.
Tune the Destination parameters: a smaller capacity increases message throughput; a higher redelivery delay and lower redelivery limit reduces the overhead.
Choose NON_PERSISTENT messages wherever appropriate to avoid the persistency overhead.
Set the TimeToLive value as low as feasible (default is for messages to never expire).
Receive messages asynchronously with a MessageListener implementation.
Choose the message type that minimizes memory overheads.
HTH
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.