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 Installation/Configuration Support » Transmission queue and Channel share

Post new topic  Reply to topic
 Transmission queue and Channel share « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Tue Jun 26, 2007 2:59 am    Post subject: Transmission queue and Channel share Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi All,

Can i share a transmission queue and a channel across various remote queues. If i can share, then what will be the adavantages or disadvantages of that.

Regards
brgmo.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 26, 2007 3:08 am    Post subject: Reply with quote

Grand High Poobah

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

It's typical to do so. All traffic for a given queue manager will flow through the xmitq/channel defined, even though routed via different remote queues. This also allows for automatic name resolution.

The only time you'd usually want to break this pattern is if you're defining multiple routes between 2 queue managers for network load / SLA type issues. The example quoted in the Intercommunication manual (which descibes all this) is high priority request reply over 1 channel that uses high speed fibre while low priority asyncronous work goes over the other channel via copper.

Check out the manual for full details.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
brgmo
PostPosted: Tue Jun 26, 2007 3:24 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

But what if the channel stops and then the entire business comes down because all the remote queues are using the same setup for transmission queue and channel.

Also, if i need to get performance then having a separate channels for each queue makes sense.isn't it?

Also if the same TX queue is used and we have separate channels sharing then will there be any concurrency problems i.e. only one channel will be able to access the queue at one time.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 26, 2007 3:35 am    Post subject: Reply with quote

Grand High Poobah

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

brgmo wrote:
But what if the channel stops and then the entire business comes down because all the remote queues are using the same setup for transmission queue and channel.


This is where you'll both deploy your monitoring and ensure the channels are set for automatic recovery.

brgmo wrote:

Also, if i need to get performance then having a separate channels for each queue makes sense.isn't it?


Only if you have separate routes over the network for the channels to follow, as I described above. Otherwise whatever causes one channel to stop is likely to bring down the others; MCAs don't just stop!

brgmo wrote:

Also if the same TX queue is used and we have separate channels sharing then will there be any concurrency problems i.e. only one channel will be able to access the queue at one time.


You can't share channels and xmitqs. They have a 1-1 relationship.

To answer your "entire business comes crashing down" point; this is why you use MQ. Simple network failures are easier to recover from (try recovering a TCP/IP based system as quickly as you can recover a channel), assuming recovery is not automatic. Also if your business is so vunerable to downtime (a high volume stockbroker for instance), then the business interuption plan will cater for this siutation with failover networks, hardware, this sort of thing. Or should.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
brgmo
PostPosted: Tue Jun 26, 2007 4:46 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

How aabout sequence of messages on channels. Are channels FIFO based or the messages coming out can be in any order on the other end.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 26, 2007 4:53 am    Post subject: Reply with quote

Grand High Poobah

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

brgmo wrote:
How aabout sequence of messages on channels. Are channels FIFO based or the messages coming out can be in any order on the other end.


Sequence of messages should be irrelevant in any MQ set up. It's called message affinity and is a very bad thing, for reasons that you'll find discussed if you search for the term in here.

AFAIK messages are delivered in batch order, but order within batch is not defined. A common thing is to reduce batch size to 1 to enforce message sequence, which it does. While killing your performance stone dead!!

Design message affinity out of your system.
_________________
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 » IBM MQ Installation/Configuration Support » Transmission queue and Channel share
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.