Traffic Distributor Overview
Traffic Distributor Overview
As an application grows, several environment copies may be required to provide additional capacity, run different application versions, or protect the service from infrastructure failures. Traffic Distributor simplifies request routing between these copies through an automatically configured load balancer.
Features and Benefits
Compared with a single application server, Traffic Distributor can improve request processing, reduce response delay, and allow more simultaneous connections to be handled.
Routing Methods
Traffic Distributor supports three routing methods. Select the option that best matches the application architecture and operational objective.
Round Robin
Distributes requests between the two backends in rotation according to their configured priorities or traffic ratio.
Sticky Sessions
Associates each user with a specific backend according to server weights and keeps subsequent requests on that backend until the session expires.
Failover
Uses one backend as the primary service and keeps the second backend in reserve. Traffic is redirected automatically when the primary backend becomes unavailable.
Traffic Distributor Implementation
Traffic Distributor is installed from Marketplace by completing a configuration form and clicking Install. The package creates a separate environment with one or more predefined NGINX load-balancer nodes and installs the Traffic Distributor add-on on top of them.
- Select the two backend hosts or application environments.
- Choose Round Robin, Sticky Sessions, or Failover routing.
- Set the traffic ratio or backend priorities.
- Enable HTTPS when secure routing is required.
- Select the entry point, number of balancers, environment name, display name, and region.
Entry Points and Protocols
Before installation, select how incoming requests should reach Traffic Distributor:
- Shared Load Balancer: Uses the platform-provided shared entry point.
- Public IP: Routes requests directly through one or more dedicated public addresses.
Traffic Distributor works with standard HTTP and HTTPS traffic and can also route protocols built on the same handshake model, including WebSockets.
Typical Use Cases
- Balance requests evenly between identical application environments.
- Protect an application with an active and standby backend.
- Perform blue-green application updates without user-visible downtime.
- Run ongoing A/B tests between two application versions.
- Distribute workloads between environments hosted on different hardware or regions.
- Extend routing with advanced NGINX configuration where required.
