mailru/go-clickhouse

How to connect multiple address?

bitbeliever opened this issue · 2 comments

How to connect multiple address?

I want to know, too.

Currently, the driver supports only one host in the connection string.
To connect to different clickhouse instances and spread the load you can put a clickhouse load balancer https://github.com/ContentSquare/chproxy between your application and the clickhouse servers.