Re: [jgroups-users] Reducing bandwidth usage

Questions/problems related to using JGroups <[email protected]> Thu, 2 Apr 2020 08:47:20 +0200
Newsgroups gmane.comp.java.javagroups.general
Message-ID <mailman.53131.1585810058.1535.javagroups-users@lists.sourceforge.net>
I think I've answered this one, haven't I?

Increase FD_ALL/STABLE timeouts. Try to batch as much as possible etc

On 01.04.20 19:17, Questions/problems related to using JGroups wrote:
> Also is there a way to limit packets and/or bandwidth used for udp 
> transmissions?
> 
> On Wed, Apr 1, 2020 at 12:17 PM Questions/problems related to using 
> JGroups <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Thanks!
> 
>     What's the differences between FD_ALL, FD_ALL2 and FD_ALL3? It's not
>     clear from the javadocs
> 
>     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]
>     <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