v.23.11New Feature

Added Compression Support in Keeper's Protocol for ClickHouse

Added support for compression in the Keeper's protocol. It can be enabled on the ClickHouse side by using this flag use_compression inside zookeeper section. Keep in mind that only ClickHouse Keeper supports compression, while Apache ZooKeeper does not. Resolves #49507. #54957 (SmitaRKulkarni).
Added support for compression in the ClickHouse Keeper's protocol to reduce bandwidth usage and improve communication efficiency.

Why it matters

This feature addresses the lack of compression in the Keeper protocol used by ClickHouse, enabling lower network traffic and potentially faster data exchange within the Keeper cluster. It benefits users by optimizing resource usage and improving overall performance during Keeper communication.

How to use it

Enable compression by adding the use_compression flag inside the zookeeper section of the ClickHouse configuration. Note that this compression feature is only supported by ClickHouse Keeper and is not compatible with Apache ZooKeeper.