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 » General IBM MQ Support » How Grouping of Message can Reduce the Traffic ?

Post new topic  Reply to topic
 How Grouping of Message can Reduce the Traffic ? « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Fri Mar 04, 2005 3:58 am    Post subject: How Grouping of Message can Reduce the Traffic ? Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Mar 04, 2005 4:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

if you combine small messages into one big message, the big one is the physical message, not a logical message.

when transmitting messages using MQ, headers like MQMD are added.

if you have 15 byte messages, the overhead of sending single messages could run upto 2500 %

See also http://www.mqseries.net/phpBB2/viewtopic.php?t=14888&highlight=mqmd+length
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PankajS
PostPosted: Fri Mar 04, 2005 5:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Mar 04, 2005 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
PankajS
PostPosted: Fri Mar 04, 2005 5:32 am    Post subject: Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Thanks a lot ...I got your point....
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Mar 04, 2005 5:39 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » General IBM MQ Support » How Grouping of Message can Reduce the Traffic ?
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.