Re: [jgroups-users] Reducing bandwidth usage
Questions/problems related to using JGroups <[email protected]> Thu, 2 Apr 2020 08:49:01 +0200
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <mailman.53133.1585810158.1535.javagroups-users@lists.sourceforge.net> |
You need to use the version of ParseMessages that's from the JGroups JAR (same version). Do you have a (small) PCAP file you could send me to take a look? I'd also need the exact version of JGroups you use. On 01.04.20 20:46, Questions/problems related to using JGroups wrote: > 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] > <mailto:[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] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/javagroups-users > > > > -- > Bela Ban | http://www.jgroups.org > > > > _______________________________________________ > javagroups-users mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/javagroups-users > > > > _______________________________________________ > javagroups-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/javagroups-users > -- Bela Ban | http://www.jgroups.org