Skip to content

Components of a load balancer

At it's most basic, load balancing is made up of three components:

  • Pools: Which contain one or more endpoints.
  • Endpoints: Which respond to individual requests.
  • A load balancer: Which decides which traffic goes to each pool.

How it works

Normally, requests to your application would go to individual servers directly.

With a load balancer, requests first go through the load balancer. Your load balancer then routes requests to specific pools.

Load balancing flowLoad balancing involves a load balancer, pools, endpoints, monitors, and health monitors.

Request 1

Request 2

Request 3

Pool 3

Endpoint 5

Endpoint 6

Pool 2

Endpoint 3

Endpoint 4

Pool 1

Endpoint 1

Endpoint 2

Request 1

Load balancer

Request 2

Request 3


Within each pool, requests then go to individual endpoints. And that endpoint is what responds to the request.

Pool traffic flowWhen an incoming request reaches a pool, it then goes to an endpoint within the pool.

Pool

Routed by pool

Request 1

Endpoint 2

Endpoint 1


This progression of load balancer --> pool --> endpoint is the core part of how a load balancer works.