wildfly-cluster

How can I cluster application-scope state in wildfly?

无人久伴 提交于 2021-01-29 08:43:09
问题 I would like to cluster a map that is kept on application-level scope. A first thought was to use a @Singleton , @Clustered bean with a field holding my data. This does not seem to work and my guess is that it was never implemented This post proposes ways to implement clustered singletons but they seem complex. The only alternative that I see, apart from manually updating db table(s), is to use a replicated cache. My question is: Is it advised to declare and use an infinispan cache (like this

wildfly load balancer failover

左心房为你撑大大i 提交于 2019-12-24 20:53:54
问题 I have setup wildfly16 cluster,this includes 3 nodes node1-wildfly load balancer node2,node3- deployed application war Now what if load balancer failed? This setup works fine even if one node fails, the load balancer will manage the session. But the problem is what if load balancer fails?? it will become single point failure . I have followed below link https://docs.jboss.org/author/display/WFLY/Using+Wildfly+as+a+Load+Balancer Also is there any other way to do clustering without load