Balancing WildFly using a list of available balancers – TCP

In this recipe, we will learn how to balance two WildFly nodes running in the standalone mode, using TCP balancing. Instead of sending information messages to a multicast address, the WildFly mod_cluster sends everything directly to Apache.

Furthermore, in this recipe we will also use a cluster configuration, to provide a better test feeling. If you need more information about clustering with WildFly, refer to Chapter 5, Managing the Datasource Subsystems with the CLI. By the way, the entire WildFly configuration used for this recipe will not relay on any previous one. On the contrary, we assume that Apache HTTPD installation and configuration are based on the first two recipes of this ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.