|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
fast channel v.s standard channel |
« View previous topic :: View next topic » |
Author |
Message
|
mqquester |
Posted: Sat Nov 29, 2003 5:39 pm Post subject: fast channel v.s standard channel |
|
|
Apprentice
Joined: 27 Nov 2003 Posts: 35
|
Hi buddy,
Is fast channel used for non-persistant message, and standard channel can be used for non-persistant and persistant messages? Any message cannot be recovered through fast channel if there is any disaster?
I know fast channel of course has a faster speed. What else difference between them? Does anybody have a summary for them?
Best Regards,
mqquester |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Nov 29, 2003 6:29 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Both channels are just as fast, and you can send both Persistent (P) and Non-Persistent (NP) over either channel.
The difference is in how they handle NP messages. On a FAST channel NP messages are sent fire-and-forget. The sending MCA does not wait for a confirmation reply message from the receiving MCA. If there is a network blip, your NP message is lost. On a normal channel, the message would not be lost.
On a normal channel, the MCA's write info (persistent "logging-type" messages to a queue) to keep track of all messages, both P and NP. On a fast channel, there is no write for NP messages.
On a fast channel, the sending MCA will send the NP as soon as it gets it, and it does this outside of syncpoint, so the message is immediatly available on the other side.
Contrast this to a normal channel, where the both P and NP messages are put under syncpoint. That NP message will still be sent over to the other side just as fast as a FAST channel, but in this case the message will not be made available until the sending MCA issues a commit, which will happen based on the BATCHINT and BATCHCOUNT setting.
In most cases, there is no performance diff in setting your channel to NORMAL, but you get the benifit of never losing NP messages. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqquester |
Posted: Sun Nov 30, 2003 2:54 pm Post subject: |
|
|
Apprentice
Joined: 27 Nov 2003 Posts: 35
|
Hi Peter,
From your article, it looks for normal channel, the P and NP messages are same. The NP message will not be lost even if there is a network problem.
I thought NP message will be lost if there is a problem between transfer not only for fast but normal channel as well. Am I wrong?
Regards |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun Nov 30, 2003 3:21 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
NP messages will not be lost in flight if there is a network problem and the channel speed is NORMAL.
NP messages will be lost if they are sitting in a queue and the queue manager goes down, for whatever reason. Once the QM comes back up, NP messages are gone.
When determining whether a message should be persistent or not, the ONLY criteria is whether you want the message to survive a QM restart if it was sitting in a queue.
If you are concerned about NP messages being lost in a channel, the solution is channel speed (set it to NORMAL), not the persistence of the message. Setting a message to persitent just for this reason is overkill as you incur all the overhead of disk writes as the message is written to logs every step of the way. Yes, it will get you the same end result (the message is not lost over a channel), but it is not the right way to do it. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqquester |
Posted: Mon Dec 01, 2003 7:28 am Post subject: |
|
|
Apprentice
Joined: 27 Nov 2003 Posts: 35
|
|
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
|
|
|
|