|
Re: Send one message vs send many messages performance: msg#00018java.javagroups.general
I would send a single message, reason being that most of the time multiple messages can be serialized into a byte[] buffer (and placed into an org.jgroups.Message) more efficiently, than having to marshall each message separately Tim Fox wrote: > 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? -- Bela Ban Lead JGroups / Manager JBoss Clustering Group JBoss - a division of Red Hat ------------------------------------------------------------------------- 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> |
|---|---|---|
| Previous by Date: | Send one message vs send many messages performance, Tim Fox |
|---|---|
| Next by Date: | Exception handling in receivers and listeners, Tim Fox |
| Previous by Thread: | Send one message vs send many messages performance, Tim Fox |
| Next by Thread: | 2.3 Vs 2.3 SP1, Alfredo Ramos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |