Re: [jgroups-users] Using JGroups on non-broadcast networks
Questions/problems related to using JGroups <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <[email protected]> |
On 31/05/16 18:17, Questions/problems related to using JGroups wrote: > Are there an recommended configurations for using JGroups over > networks that do not support broadcast or multicast messages? Either TCP/TCP_NIO2 as transport, or UDP but with ip_mcast set to false. In both cases, multicasting cannot be used for discovery so PING or MPING cannot be used. Altrnatives are TCPPING, TCPGOSSIP, FILE_PING,S3_PING, GOOGLE_PING, JDBC_PING etc etc etc. Check out the manual for details. > I'm guessing that some sort of unicast based relay would be in order to > setup this up, but I guess the question is, does support for this > exist within jGroups already? Not sure I understood what you meant here... > Also on a related note, are there any packages or classes that (if not > used) that can be removed from the library (using proguard or > something like it)? You can remove - org.jgroups.demos (demos) - org.jgroups.tests (unit tests) - From org.jgroups.blocks: all classes you don't need - org.jgroups.blocks.auth: if you don't need authentication - org.jgroups.protocols: remove all protocols you don't need Depending on what functionality you use, you can remove a lot. If you for example use a UDP based stack only and not RPC functionality or other blocks, I guess you can shrink the JAR size by 70%. > I'm primarily targeting android based platforms > and frankly, jGroups is a large library (Android limits APKs based on > the total number of method signatures). I've already stripped out JMX > related content since JMX isn't available on Android. But is there > anything else? -- Bela Ban, JGroups lead (http://www.jgroups.org) ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e