Table of Contents

Search

  1. Preface
  2. Introduction to High Availability
  3. Set Up the High Availability Environment
  4. Set Up a High Availability Cluster on Windows
  5. Steps to Setting Up a High Availability Cluster in Linux
  6. Optional High Availability Configuration
  7. Troubleshooting High Availability
  8. High Availability Log Messages
  9. Port Number Reference
  10. Glossary

High Availability Installation Guide

High Availability Installation Guide

HTTP Load Balancer Overview

HTTP Load Balancer
Overview

You use a load balancer in the high availability cluster to distribute the workload evenly over two or more servers and to achieve optimal network performance.
The following figure shows how the load balancer forwards browser requests to one of the Tomcat instances:
browser or client sends request to load balancer, sends request to tomcat instance, process request and returns result to load balancer, returns result to client or browser
In this diagram, the browser sends the request to the load balancer. The load balancer determines which Tomcat instance will handle the request and forwards the request to the Tomcat instance. The Tomcat instance processes the request and sends the result back to the load balancer. The load balancer forwards the result back to the browser.
The load balancer determines which Tomcat computer handles each request. This computer might vary from request to request and depends on the configuration.
You can use any load balancing software or hardware.
This chapter includes examples for configuring load balancing with a newly installed copy of Apache HTTP Server.

0 COMMENTS

We’d like to hear from you!