X-Received: by 10.224.184.11 with SMTP id ci11mr17670999qab.1.1356708329363; Fri, 28 Dec 2012 07:25:29 -0800 (PST) Received: by 10.49.48.41 with SMTP id i9mr5121787qen.36.1356708329335; Fri, 28 Dec 2012 07:25:29 -0800 (PST) Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.216.87.MISMATCH!ee4no2836957qab.0!news-out.google.com!k2ni3151qap.0!nntp.google.com!ee4no2918623qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Fri, 28 Dec 2012 07:25:29 -0800 (PST) In-Reply-To: <94fcfac6-eff5-4e84-956a-8a7970867867@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=137.100.97.30; posting-account=LYoTOgoAAABkuGLLOGXg_LiQpwWAp52F NNTP-Posting-Host: 137.100.97.30 References: <94fcfac6-eff5-4e84-956a-8a7970867867@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: JMS vs Sockets -- bandwidth, size, speed, etc. From: me2 Injection-Date: Fri, 28 Dec 2012 15:25:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:20758 Good morning, I think that I didn't phrase my question well enough. There are two metric= s that I am curious about--bandwidth usage and speed. For X messages of N = length (assume a constant size) going to each of Y consumers (so, X * Y mes= sages total), what is the comparison? I can test the speed and so far, the= sockets seem to win as long as there are not a lot of consumers (otherwise= the threading seems to choke it). That leaves the bandwidth question--how= much larger (if any) is a JMS message on the wire vs in a socket. I would= hazard (as a newbie) that the socket is smaller--you don't have wrappers o= r envelopes or meta data but instead just the data. So how much larger is = the JMS message? Thank you, me 2