Balancing WildFly using auto advertising – UDP

In this recipe, we will learn how to balance two WildFly nodes running in the standalone mode. Default mod_cluster settings provide auto advertising as enabled, using a multicast address. Furthermore, in this recipe we will use a cluster configuration also to provide a better test feeling. If you need more information about clustering with WildFly, read Chapter 6, Clustering WildFly.

The entire WildFly configuration used for this recipe will not relay on any previous one. On the contrary, we assume that the Apache HTTPD installation and configuration are based on the first two recipes of this chapter.

Getting ready

For this recipe, we will need an application named balancing-test, that you can find in ...

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.