|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Clients reading one queue simultanously (MQSeries 5.3) |
« View previous topic :: View next topic » |
Author |
Message
|
hubert |
Posted: Sun Apr 23, 2006 11:39 pm Post subject: Clients reading one queue simultanously (MQSeries 5.3) |
|
|
Newbie
Joined: 21 Apr 2006 Posts: 1
|
The target :
- One queue containing a lot of messages
- Each message is get by a client, processed et forwarded, before being deleted from the queue
- The order of the messages is not important
My problem :
My program takes a long time to processed a message because the transformation steps are complex.
So, to get faster, I have launched multiple instances of my program in order to accelerate the rate.
But, the results are not the ones I expected :
- with one instance of the client program, I treated 30 msg/s
- with two or more, I always treated 30 msg/s
PS : If I suppress the transformation steps of the message, the rate is about 200 msg/s.
Is there any limitation with MQSeries 5.3 wich prevent to read messages simultanously from one queue ?
Is the following messages in a queue can be read instead the first one is not completely commited ?
Is there an option in the call or a parameter in the configuration file I forgot ?
Thanks for your help... _________________ 'Hub |
|
Back to top |
|
 |
fschofer |
Posted: Mon Apr 24, 2006 4:14 am Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
Hi,
hubert wrote: |
Is there an option in the call or a parameter in the configuration file I forgot ? |
Which ones do you use ?
Greetings
Frank |
|
Back to top |
|
 |
zpat |
Posted: Mon Apr 24, 2006 4:19 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Make sure each thread has it's own separate connection handle. Make sure INPUT_SHARED is used on the MQOPEN.
Each thread must operate like an independent program (performing MQCONN, MQOPEN, MQGET etc) and they should multi-task, unless they are being serialised by something other than MQ. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|