Skip to content

6.3 Load Balancers and Proxies

IDS and IPS handle security. Load balancers handle a different problem: distributing traffic efficiently across multiple servers.

A load balancer distributes incoming connections across multiple backend servers. Clients connect to a single VIP (Virtual IP). The load balancer maps each connection to a backend server using algorithms like round-robin, least connections, or weighted distribution.

A health check tests each backend server periodically. The load balancer sends a probe (TCP connect, HTTP GET, or custom script) at a configured interval. If a server fails a configurable number of consecutive checks, the load balancer removes it from rotation. When the server passes checks again, the load balancer restores it.

Health Check TypeMethodUse Case
TCP connectOpens a TCP connection to the portVerify the port is listening
HTTP GETSends an HTTP request, checks status codeVerify the application responds
Custom scriptRuns a script that returns pass/failVerify application-specific logic

Some applications require all requests from the same client to reach the same backend server. Session persistence (sticky sessions) achieves this by mapping a client (identified by source IP, cookie, or TLS session ID) to a specific backend. Without persistence, a user’s session state on server 1 is invisible to server 2, causing authentication failures or lost shopping carts.

In OT, session persistence matters for SCADA web interfaces where the session state tracks the operator’s current view and alarm acknowledgments.

A proxy server acts as an intermediary between clients and servers. A forward proxy sits between internal clients and the internet, providing content filtering and caching. A reverse proxy sits in front of backend servers, providing TLS termination, caching, and load balancing. A transparent proxy intercepts traffic without client configuration.

Health checks remove failed servers

The load balancer probes each backend periodically. Failed servers are removed from rotation automatically.

Session persistence for stateful apps

SCADA web interfaces and other stateful applications require sticky sessions to maintain operator context.

Load balancers distribute traffic across servers. The next page covers NAS and SAN, the storage appliances that provide file-level and block-level access to data.

  • CompTIA Network+ N10-009 Exam Objectives, Domain 1: Networking Concepts