Chapter 6. Clustering WildFly

In this chapter, we will cover the following topics:

  • Creating a cluster in standalone mode
  • Creating separate clusters in standalone mode
  • Creating a cluster in domain mode
  • Creating separate clusters in domain mode
  • Creating a cluster via TCP
  • Testing the UDP protocol with the JGroups tool

Introduction

In this chapter, you will learn how to create a cluster for a web application spread across two or more WildFly nodes. Clustering is the capability to continue serving a client, even in case of failures (that is, a server crash), and is also known as failover.

Note

Clustering is meant to be at the application level and not at the OS level.

For example, suppose you are filling in a long form, in a large number of steps (where steps ...

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.