roundRobinStrategy

Version

Dispatches requests to the available nodes in rotation, one after another. It ignores sessions and node load; only nodes currently up take part. This is the balancer's default strategy when none is configured.

Example Configuration

balancer:
roundRobinStrategy: {}
clusters:
- nodes:
- host: node1.predic8.com
port: 8080
- host: node2.predic8.com
port: 8080
balancer:
   roundRobinStrategy: {}
   clusters:
     - nodes:
         - host: node1.predic8.com
           port: 8080
         - host: node2.predic8.com
           port: 8080

Syntax

roundRobinStrategy: {}
roundRobinStrategy: {}

Can be used in