Load-balance¶
Common Fields¶
Refer to Common Fields.
strategy¶
Load Balancing Strategies
-
round-robinwill distribute all requests among different proxy nodes within the strategy group. -
consistent-hashingwill assign requests with the sametarget addressto the same proxy node within the strategy group. -
sticky-sessions: requests with the samesource addressandtarget addresswill be directed to the same proxy node within the strategy group, with a cache expiration of 10 minutes.
Note
When the target address is a domain, it uses top-level domain matching.
hash-key¶
Selects what a hashing strategy derives its key from. Only takes effect when strategy is consistent-hashing or sticky-sessions
in-userpins on the authenticated inbound user name (the same fieldIN-USERrules match on). It does not vary with the target address, so a single task spanning multiple domains will not switch nodes or change egress IP halfway through; unauthenticated requests fall back to the strategy's own key- When unset, behavior is exactly the same as before
round-robin does not hash anything, so configuring hash-key raises an error rather than being ignored
This option only changes what value is hashed, not how a strategy picks a node once it has the hash. The two strategies also differ in consistency duration: consistent-hashing is permanent, while sticky-sessions expires its cache after 10 minutes