cancel
Showing results for 
Search instead for 
Did you mean: 

Are they any ways to help performance on JMS

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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