Radiator Server Documentation — v10.34.2
Table of Contents

server_selection

Selects the server selection policy used when multiple MySQL server blocks are configured. See Backend Load Balancing for available policies, the default, and selection behavior.

Example

mysql "MYSQL_HA" {
    server_selection fallback;

    server "primary" {
        host "mysql-primary.example.com";
        priority 0;
        # ...
    }

    server "replica" {
        host "mysql-replica.example.com";
        priority 1;
        # ...
    }

    query "FIND_USER" { ... }
}