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 » Clustering » SyncPoint(UoW) with MQ clustering(Round Robining)

Post new topic  Reply to topic
 SyncPoint(UoW) with MQ clustering(Round Robining) « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Mon Dec 08, 2008 6:25 pm    Post subject: SyncPoint(UoW) with MQ clustering(Round Robining) Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi Guys,
We have a requirement like this:

There are 3 QMgrs, QM1, QM2 and QM3 are in a cluster called CLUSTER1.

A cluster queue, CLUSTER.QUEUE is defined on both QM2 and QM3.

The source application is connected to QM1 and sending msgs to cluster queue, CLUSTER.QUEUE under SYNPOINT(unit of work) to the destination application. The messages will be round robined between QM2 and QM3.

The destination application is of 2 instances and one instance is listening on QM2 and the other on QM3.

Question:
How the msgs will be handled by the destination application as the msgs are round robining between QM2 and QM3 and the msgs are dependable on each other?.

Is it possible to handle the msgs under Syncpoint when the QMgrs are in cluster(round robining) and multiple instances of the destination application?.

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 08, 2008 7:12 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
the msgs are dependable on each other
Read some documentation on message affinity and why it is not a good design. It does not allow for scalability. There are ways to get around it in the cluster by opening the queue with bind fixed. However the receiver is limited to one instance of the consumer and you can only achieve load balancing per group by closing and reopening the queue. Never a good idea when you want to boost throughput.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Mon Dec 08, 2008 11:36 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
Is it possible to handle the msgs under Syncpoint when the QMgrs are in cluster(round robining) and multiple instances of the destination application?.


MQ is asynchronous. Syncpointing is limited to the "local" unit of Work.

if you put, you have 1 UOW, message gets transmitted between queuemanagers (thats another UOW) and if you get, you have another UOW. For each single UOW that is udner your control (put and get) you can use syncpointing. but you can not make both put and get a single uow.
I do not see how syncpointing will solve your message affinity.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 09, 2008 1:14 am    Post subject: Re: SyncPoint(UoW) with MQ clustering(Round Robining) Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chris boehnke wrote:
Question:
How the msgs will be handled by the destination application as the msgs are round robining between QM2 and QM3 and the msgs are dependable on each other?.


I imagine the destination application will fail as soon as a message arrives without the preceeding one on which it depends.

You can't use workload balancing when you have message affinity. This is why message affinity is so frowned upon.

chris boehnke wrote:
Is it possible to handle the msgs under Syncpoint when the QMgrs are in cluster(round robining) and multiple instances of the destination application?.


Of course. But the UOW will only span a single message and even if it didn't wouldn't solve your affinity issues as each destination application is only getting half the messages it needs.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Clustering » SyncPoint(UoW) with MQ clustering(Round Robining)
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.