ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Clients reading one queue simultanously (MQSeries 5.3)

Post new topic  Reply to topic
 Clients reading one queue simultanously (MQSeries 5.3) « View previous topic :: View next topic » 
Author Message
hubert
PostPosted: Sun Apr 23, 2006 11:39 pm    Post subject: Clients reading one queue simultanously (MQSeries 5.3) Reply with quote

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
View user's profile Send private message
fschofer
PostPosted: Mon Apr 24, 2006 4:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
zpat
PostPosted: Mon Apr 24, 2006 4:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Clients reading one queue simultanously (MQSeries 5.3)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.