Re: [jgroups-users] Reducing bandwidth usage

Questions/problems related to using JGroups <[email protected]> Wed, 1 Apr 2020 16:01:17 +0200
Newsgroups gmane.comp.java.javagroups.general
Message-ID <mailman.52654.1585749696.1535.javagroups-users@lists.sourceforge.net>

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