Open gangtao opened 3 months ago
For proton cluster, need to support cluster ip addresses
make sure cluster ip works
conn := proton.OpenDB(&proton.Options{ Addr: []string{"ip1:8463","ip2:8463,"ip3:8463"}, Auth: proton.Auth{ Username: "default", Password: "", }, }) var value int conn.QueryRow("SELECT 300").Scan(&value) fmt.Println(value)
client level load balancer
implement a round robin based query load balancing
For proton cluster, need to support cluster ip addresses
make sure cluster ip works
client level load balancer
implement a round robin based query load balancing