This repo contains some recipes and scripts on how to easily and quickly setup some WildFly cluster.
WildFly nodes running in cluster (started using standalone-ha.xml or standalone-full-ha.xml e.g. WILDFLY_DIRECTORY/bin/standalone.sh --server-config=standalone-ha.xml
) can use a distributed cache and share data across nodes:
Demonstrates how to run a 4 nodes WildFly cluster using an distributed cache for WARs; a distributable WAR is deployed to the 4 nodes and some HTTP requests are fired at the 4 nodes to check the cache is working.
Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster.
NOTE: Uses the NEW WildFLy HotRod session manager to connect to the remote Infinispan Server cluster.
Demonstrates how to run a 4 nodes WildFly cluster producing metrics collected by Prometheus and visualized by Grafana.
Demonstrates how to run a 4 nodes WildFly cluster using an invalidation cache for webapps, backed by a relational Database.
Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster.
NOTE: Uses the traditional WildFLy Infinispan session manager to connect to the remote Infinispan Server cluster.
Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster. The communication between WildFLy and Infinispan is encrypted.
Demonstrates how to run an EAR containing 2 WAR files sharing HTTP sessions, on a 4 nodes WildFly cluster; Some HTTP requests are fired at the 4 nodes to check that session are shared across WAR files and nodes;
Demonstrates how to run a Singleton Deployment WAR on a 4 nodes WildFly cluster; a Singleton Deployment WAR is deployed to the 4 nodes and some HTTP requests are fired at the 4 nodes to check the service is active on just on node;
Demonstrates using SSO with an application deployed on 2 nodes cluster
Demonstrates using SSO with an application deployed on 2 nodes cluster; SSO data is offloaded to a remote Infinispan cluster through HotRod;