Back to DocumentationReverse ProxyCreate a proxy configuration
Add multiple backend targets
Choose a load balancing strategy:
Load Balancing
Distribute traffic across multiple backend servers.
April 12, 20265 views
Load Balancing
Overview
Load balancing distributes incoming traffic across multiple backend servers, improving reliability and performance.
Configuration
To set up load balancing:
- Round Robin - Distributes requests evenly
- Least Connections - Sends to the server with fewest active connections
- IP Hash - Routes the same client to the same backend
Health Checks
The proxy monitors backend health and automatically removes unhealthy servers from the pool. When a server recovers, it's automatically added back.
Sticky Sessions
If your application requires session persistence, enable sticky sessions. This routes returning users to the same backend server.
load-balancingproxyperformance