ClickHouse / clickhouse-java

ClickHouse Java Clients & JDBC Driver
https://clickhouse.com
Apache License 2.0
1.45k stars 535 forks source link

[client-v2] Load-balancing #1903

Open chernser opened 1 week ago

chernser commented 1 week ago

Description

This issue is about implementing load balancing between different endpoints. They should have same level of security and they will share configuration. Some http clients have own connection pool so they do load balancing in some way already. Client would need to abstract clients for each endpoint as cluster and do requests based on selected algorithm.