The HTTP Session size in cluster is a key metric to determine how much an application can scale. In this updated tutorial we will learn how to monitor and calculate the current HTTP Session size and the number of HTTP active sessions.
Clustering WildFly
Clusters in an application server enhance scalability and availability, which are
related concepts. In order to achieve the benefits of clustering, you need to manage
the configuration of several components like the clustering transport at first, the
replication/distribution of data across cluster members and the techniques used to
balance load between nodes.
The backbone of WildFly clustering is the JGroups library,
which provides a reliable multicast system used by cluster members to find each
other and communicate.
Next comes Infinispan, which is a data grid platform that is used by the application
server to keep in sync the application data in the cluster by means of a replicated
and transactional JSR-107 compatible cache.
Recommended Tutorials available:
Getting Started
Clustering WildFly Application Server
Configuring High Availability with WildFly
Configuring WildFly as Load Balancer for a Cluster
Application Clustering
How to cluster a Web Application
EJB to EJB communication in a cluster
HTTP Session Management
How to configure HTTP Session in a cluster
How to calculate the size of the HTTP Session
How to monitor and invalidate HTTP Sessions
Mod Cluster
Configuring Ranked Load Balancing
Configuring Load Balancing Groups
JGroups
How to change multicast address of a Cluster
How to configure a Cluster to use TCPPING
Mod JK
Configuring mod_jk with WildFly
Monitoring/Dispatching commands
Dispatching commands on a WildFly cluster
Monitoring a cluster using WildFly API
How to monitor and invalidate HTTP Sessions in WildFly
This article we will learn how to monitor and invalidate HTTP Sessions in WildFly application server / JBoss EAP using the management instruments such as the Command Line Interface and the Web console. Monitoring HTTP Sessions First of all, in order to gather statistics about HTTP sessions, you need to enable statistics on undertow subsystem … Read more
How to disable WildFly clustering at runtime
This tutorial discusses how you can perform cluster maintenance on one or more nodes of your cluster. We will show which approach you can use both in Standalone mode and Domain mode without losing continuity in your services. WildFly cluster maintenance Today I have found an interesting question of StackOverFlow asking how to temporarily remove … Read more
Clustering WildFly Application Server
Clustering means that when your application is running on a server, it can continue its task on another server exactly at the same point it was at, without any manual failover. This means that the application’s state is replicated across cluster members.
WildFly custom caches configuration for Stateful Beans
This article has been updated to let you how to configure Stateful EJB Caches for your applications running on the latest version of WildFly application server.
Sticky session configuration in WildFly
This article is a walk through the configuration of Sticky sessions in Web applications which you are running on the top of WildFly application server or JBoss EAP.
How to configure WildFly and JBoss EAP to use TCPPING
This article will teach you how to use TCPPING in combination with TCP/UDP Unicast as transport and a static list of cluster members’s addresses.
How to use JDBC_PING to discover cluster nodes
This article is a quick walkthough the JDBC_PING JGroups protocol which you can use for initial discovery of cluster nodes in WildFly application server.
How to discover JBoss Cluster members
In this tutorial we will learn some techniques to discover your JBoss / WildFly cluster members using a set of available tools. We will use both tools included in WildFly distribution and standard tools like JMX. Discover cluster nodes using the CLI The simplest way to list the cluster nodes is to use the Command … Read more
JBoss Clustering a Web Application
This article discusses the required steps to cluster a Web application using WildFly application server and the older server releases (JBoss AS 5). Clustering allows us to run an applications on several parallel servers (a.k.a cluster nodes). The load is distributed across different servers, and even if any of the servers fails, the application is … Read more