logo       

Send one message vs send many messages performance: msg#00017

java.javagroups.general

Subject: Send one message vs send many messages performance

In JBM sometimes we need to cast a batch of messages across the group,
e.g. on transaction commit when multiple messages have been sent in a
transaction.

I can either do this by casting a different jgroups message for each jms
message, or by casting a single jgroups message containing a list of the
jms messages.

Can you think of any pros/cons of either approach. I'm thinking in terms
of performance, overhead of a single jgroups message, message
frag/defrag overhead etc?

TIA

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise