← Back to library
Cascades Practice PRO

leastPing auto-select: building it

We build an auto-select that doesn't "work for a couple of minutes, then stall." This is a production subscription template: leastLoad over a pool of direct nodes, geo-dat-free routing, the pool assembled by host tags in 10 seconds. And three delivery traps without which a perfect template is useless — the client simply won't get the routing.

Read the theory

This material is about engineering your own infrastructure and is educational in nature. Complying with the laws of your own jurisdiction is on you.

Where this lives

The balancer and routing live in the subscription's XRAY_JSON template (subscription_templates), not in the node's Config Profile. This is fundamental: the pool is defined by routing.balancers[].selector, not by host rows. Hiding a host (is_hidden) removes the tile from the…

/

This guide is part of paid access

Get full access to unlock the text, configs and builder.

Unlock access