Re: [jgroups-users] Reducing bandwidth usage
Questions/problems related to using JGroups <[email protected]> Wed, 1 Apr 2020 14:46:29 -0400
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <mailman.52801.1585766810.1535.javagroups-users@lists.sourceforge.net> |
--===============8669437853851365311== Content-Type: multipart/alternative; boundary="000000000000ce82c805a23f1a0e" --000000000000ce82c805a23f1a0e Content-Type: text/plain; charset="UTF-8" Regarding packet decoding, i followed the guide from the blog but got an exception from jgroups. ArrayIndexOutOfBoundsException -30598 called from conf.ClassConfigurator.create like 129 Message.readHeader(Message 836) Message.readFrom(Message:709) .... Since I'm using a slightly different udp config file, do i need to pass that in as an argument to the ParseMessages's class? On Wed, Apr 1, 2020 at 10:01 AM Questions/problems related to using JGroups <[email protected]> wrote: > > > On 01.04.20 15:53, Questions/problems related to using JGroups wrote: > > I'm using a slightly modified version of "udp.xml" that basically > > increases some of the timeouts. I've been wiresharking some of the > > traffic to get an idea of bandwidth usage and consumption. > > > > a) is there a supported wireshark plugin to help decode the jgroups > > messages? > > There used to be one (written in C), but because the wire format kept > changing, we decided it was better to use the actual parsing code to > implement a PCAP/NG parser. See [1] for details. > > > b) I'm noticing about 3-4 packets send per second to/from 2 nodes with > > some bursts to 7 packets. Is there a way to tell what these messages are? > > Yes, use [1] to display the messages. > > I suspect most of the traffic is from a heartbeat protocol (FD_ALL) or > stability (STABLE) > > > c) regarding (b), is there a way to reduce the chatter? > > Depending on what the messages are, yes, by increasing timeouts (e.g.) > in FD_ALL. > > > [1] http://belaban.blogspot.com/2019/06/network-sniffing.html > > > > javagroups-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/javagroups-users > > > > -- > Bela Ban | http://www.jgroups.org > > > > _______________________________________________ > javagroups-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/javagroups-users > --000000000000ce82c805a23f1a0e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Regarding packet decoding, i followed the guide from = the blog but got an exception from jgroups.</div><div>ArrayIndexOutOfBounds= Exception -30598 called from <br></div><div>conf.ClassConfigurator.create l= ike 129</div><div>Message.readHeader(Message 836)</div><div>Message.readFro= m(Message:709)</div><div>....</div><div><br></div><div>Since I'm using = a slightly different udp config file, do i need to pass that in as an argum= ent to the ParseMessages's class?</div><div><i></i><br></div><div><br><= /div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c= lass=3D"gmail_attr">On Wed, Apr 1, 2020 at 10:01 AM Questions/problems rela= ted to using JGroups <<a href=3D"mailto:[email protected]= ge.net">[email protected]</a>> wrote:<br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex"><br> <br> On 01.04.20 15:53, Questions/problems related to using JGroups wrote:<br> > I'm using a slightly modified version of "udp.xml" that = basically <br> > increases some of the timeouts. I've been wiresharking some of the= <br> > traffic to get an idea of bandwidth usage and consumption.<br> > <br> > a) is there a supported wireshark plugin to help decode the jgroups <b= r> > messages?<br> <br> There used to be one (written in C), but because the wire format kept <br> changing, we decided it was better to use the actual parsing code to <br> implement a PCAP/NG parser. See [1] for details.<br> <br> > b) I'm noticing about 3-4 packets send per second to/from 2 nodes = with <br> > some bursts to 7 packets. Is there a way to tell what these messages a= re?<br> <br> Yes, use [1] to display the messages.<br> <br> I suspect most of the traffic is from a heartbeat protocol (FD_ALL) or <br> stability (STABLE)<br> <br> > c) regarding (b), is there a way to reduce the chatter?<br> <br> Depending on what the messages are, yes, by increasing timeouts (e.g.) <br> in FD_ALL.<br> <br> <br> [1] <a href=3D"http://belaban.blogspot.com/2019/06/network-sniffing.html" r= el=3D"noreferrer" target=3D"_blank">http://belaban.blogspot.com/2019/06/net= work-sniffing.html</a><br> <br> <br> > javagroups-users mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a><br> > <a href=3D"https://lists.sourceforge.net/lists/listinfo/javagroups-use= rs" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/list= s/listinfo/javagroups-users</a><br> > <br> <br> -- <br> Bela Ban | <a href=3D"http://www.jgroups.org" rel=3D"noreferrer" target=3D"= _blank">http://www.jgroups.org</a><br> <br> <br> <br> _______________________________________________<br> javagroups-users mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank"= >[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/javagroups-users" r= el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/lis= tinfo/javagroups-users</a><br> </blockquote></div> --000000000000ce82c805a23f1a0e-- --===============8669437853851365311== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8669437853851365311== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ javagroups-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/javagroups-users --===============8669437853851365311==--