Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WildFly Configuration, Deployment, and Administration - Second Edition

You're reading from   WildFly Configuration, Deployment, and Administration - Second Edition Build a functional and efficient WildFly server with this step-by-step, practical guide

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781783286232
Length 402 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Installing WildFly FREE CHAPTER 2. Configuring the Core WildFly Subsystems 3. Configuring Enterprise Services 4. The Undertow Web Server 5. Configuring a WildFly Domain 6. Application Structure and Deployment 7. Using the Management Interfaces 8. Clustering 9. Load-balancing Web Applications 10. Securing WildFly 11. WildFly, OpenShift, and Cloud Computing A. CLI References Index

Load-balancing with mod_cluster


The mod_cluster is an HTTP-based load balancer, which, like mod_jk, can be used to forward requests to a set of application server instances. There are several advantages of using mod_cluster over mod_jk or mod_proxy:

  • Dynamic clustering configuration

  • Better load balancing due to the ability to use server-side load metrics

  • Better integration with the application life cycle

  • AJP is optional

When using a standard load balancer, such as mod_jk, you have to provide a static list of nodes that are used to spread load. This process is inconvenient, especially if you want to dynamically add or remove nodes depending on the amount of traffic around your application. In addition to this, using a flat cluster configuration can be tedious and prone to error, especially if you have a high number of nodes in your cluster.

When using mod_cluster, nodes are dynamically added to, or removed from, your cluster. To achieve this, each WildFly server communicates its life cycle state...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image