When you create a resource in Pangolin, you define different targets that specify where traffic should be routed within your network. Each target represents a specific destination that the resource can proxy to when handling incoming requests.
Targets are created on the Newt tunnel, enabling traffic to reach destinations on the remote network without requiring additional routing configuration.
With the introduction of update 1.9.0, targets now have sites associated with them. This enhancement provides significant benefits for reliability and load distribution.
You can now configure targets across different sites for the same resource:
High Availability
Distribute your resources across multiple sites so that if one site goes down, traffic automatically continues to be served from other available sites.
Load Balancing
Set up load balancing across sites to distribute traffic in a round-robin fashion between all available targets.
Load balancing between different targets only works when sites are connected to the same node. In managed Pangolin instances with multiple nodes, ensure load balancing occurs on the same node.
To ensure effective load balancing in multi-node environments: