v.18.16Improvement

Added Connection Pool and HTTP Keep-Alive for Replica Connections

Added a connection pool and HTTP Keep-Alive for connections between replicas. #3594
Introduced a connection pool and HTTP Keep-Alive support for inter-replica communication in ClickHouse.

Why it matters

This feature optimizes network resource usage and reduces connection overhead between replicas by reusing existing HTTP connections instead of establishing new ones for each request. It improves replication performance and stability.

How to use it

The connection pool and HTTP Keep-Alive are enabled automatically for inter-replica connections. No additional configuration is required from the user to benefit from this feature.