-
1. Re: WildFly-8.2 clustering - Best Method?
pferraro Mar 18, 2015 2:23 PM (in response to valsaraj007)I assume the blog to which you are referring is Scalable HA Clustering with JBoss AS 7 / EAP 6 | akquinet AG – Blog ?
There is no single answer to your question. Each strategy has its advantages and disadvantages.
The multi-cluster w/replication approach (sub-cluster is a bad name, since a "sub-cluster" is a distinct cluster) is slightly more complex to scale since it requires a distinct server-group (with unique load-balancing group) per cluster, however the cost of adding/removing a member to/from a cluster is fairly small, since the transfer of state to the new member does not affect other clusters. It offer potentially higher availability (provided no cluster loses all members), but is less able to spread load evenly, since a given piece of state is only available within 1 cluster.
Contrarily, the single-cluster w/distribution approach is simpler to scale, since you only need a single server-group/load-balancing-group, however adding/removing a member to/from the cluster requires a rebalance of your server-side state, which will affect all members. Technically, it offers less availability, since the cluster can never lose more than N members between rebalances (where N is the number of owners), but can more easily spread load evenly since a given piece of state is available from any node in the cluster.
-
2. Re: WildFly-8.2 clustering - Best Method?
valsaraj007 Mar 19, 2015 3:02 AM (in response to pferraro)Thanks pferraro! Yes, I referred that blog.