|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How Grouping of Message can Reduce the Traffic ? |
« View previous topic :: View next topic » |
Author |
Message
|
PankajS |
Posted: Fri Mar 04, 2005 3:58 am Post subject: How Grouping of Message can Reduce the Traffic ? |
|
|
Voyager
Joined: 27 Dec 2004 Posts: 82
|
Hi Friends,
Below is the paragraph from MQ Primer
Quote: |
To reduce traffic over the network, you can also group several small messages together and build
one larger physical message. This message is then sent to the destination and is there
disassembled. Message grouping also guarantees that the order the messages are sent in is
preserved. |
I have two queries :
1) If we combine number of small messages, what we get out of it should be called as the "Logical message" How come it is called as 'Physical message' here.
2) How will it reduce traffic on the network ?
Does it mean that ,we will be using one put call for all the messages that are consolidated in one physical message?
For example, if we grouped 10 small messages and then send to Remote Q manager, will it generate traffic for 10 messages or for 0ne
Thanks in advance  |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 04, 2005 4:37 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
PankajS |
Posted: Fri Mar 04, 2005 5:08 am Post subject: |
|
|
Voyager
Joined: 27 Dec 2004 Posts: 82
|
Thanks for prompt reply MichaelDag,
When we say, we are consolidating 10 small messages into one, do we make one long message out of 10 and separate each message with delimiter or we set some fields from the MQMD ?
Sorry to ask ,but i really do not have any idea of how to do it .
I could not find it in Application Progaming Guide.
Thanks ...  |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 04, 2005 5:20 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
PankajS wrote: |
When we say, we are consolidating 10 small messages into one, do we make one long message out of 10 and separate each message with delimiter or we set some fields from the MQMD ?
|
yes, you make one big message using your own distinct seperator, you then MQPUT that entire message, no messing with MQMD involved.
Don't forget to tell the recipient what the seperator is...
PankajS wrote: |
Sorry to ask ,but i really do not have any idea of how to do it .
I could not find it in Application Progaming Guide.
|
it's all about how you fill the message payload, nothing to do with MQ itself... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
PankajS |
Posted: Fri Mar 04, 2005 5:32 am Post subject: |
|
|
Voyager
Joined: 27 Dec 2004 Posts: 82
|
Thanks a lot ...I got your point....  |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Mar 04, 2005 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
in addition... use the search option and search for 'message grouping'
you can 'group' physical messages logically using MQPUT / MQMD options, but as far as I can tell those messages still get their own MQMD and you still have the overhead of individual small messages.
as usual it all depends on what you want to achieve... _________________ Michael
MQSystems Facebook page |
|
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
|
|
|
|