activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Protocol to be used in a broker topolgy (same JVM)
Date Mon, 08 Mar 2010 16:36:23 GMT
On Mon, Mar 8, 2010 at 1:55 AM, cmoulliard <cmoulliard@gmail.com> wrote:
>
> Hi,
>
> I presume that when we create a network of 2 brokers running in the same
> jvm, it makes more sense to use the vm:// as the protocol to interconnect
> the master broker with the slave ?
>
>        <networkConnectors>
>            <networkConnector uri="static://(vm://localhost:61617)"/>
>        </networkConnectors>
>
> So, we can boost performance for transferring messages from one broker to
> another and reduce cpu/memory consumption ?

Yes, use of the VM transport will certainly eliminate the use of the
TCP stack, but I question the value of a broker network that exists in
a single JVM.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message