Skip to content

ClickHouse Keeper

Open-source coordination that scales

ClickHouse Keeper solves the well-known drawbacks of ZooKeeper and makes many additional improvements.

Join us in building the future of distributed consensus.

ClickHouse Keeper vs Apache ZooKeeper
Compare icon

Coordination without the drawbacks

In order to overcome some shortcomings of ZooKeeper, we started building a ClickHouse native Keeper from scratch based on our own requirements, optimized for usage in ClickHouse.

  • Easier setup and operation
  • No overflow issues
  • Better compression
  • Faster recovery
  • Less memory used
  • Additional guarantees
FAQs icon

A replacement for ZooKeeper?

Keeper is a drop-in replacement for ZooKeeper written in C++, with a fully compatible client protocol and the same data model, and features these improvements

  • Tick iconCompatible client protocol (all clients work out of the box)
  • Tick iconThe same state machine (data model)
  • Tick iconBetter guarantees (optionally allows linearizable reads)
  • Tick iconUses Raft algorithm (NuRaft implementation)
  • Tick iconOptional TLS for clients and internal communication
Yes icon

When to use ClickHouse Keeper?

  • Most of your request are writes
  • Efficient memory utilization matters
  • Your project isn’t part of the Java ecosystem
  • You are managing a ClickHouse cluster
No icon

When NOT to use ClickHouse Keeper?

  • Most of your request are reads
  • You require scalability with a read-heavy workload
  • Java-based components are important to you
C++ and RAFT

Keep your system afloat with RAFT

ZooKeeper implementation

ZooKeeper is implemented in Java and its coordination algorithm, ZooKeeper Atomic Broadcast (ZAB), doesn't provide linearizability guarantees for reads.

ClickHouse Keeper implementation

Unlike ZooKeeper, ClickHouse Keeper is written in C++ and uses the RAFT algorithm implementation. This algorithm allows linearizability for reads and writes, and has several open-source implementations in different languages.

几秒内即可开始使用 ClickHouse

为 macOS、Linux 与 FreeBSD 安装 ClickHouse。

 curl https://clickhouse.com/ | sh

也可安装 WindowsDocker 版,或查看其他 安装方式。也可以在我们的 Playground 中无需安装直接体验。

观看这段 入门视频 进一步了解 ClickHouse。

免费开始使用 ClickHouse Cloud

我们将为您提供 30 天试用期及 300 美元额度,助您自如开启探索。

创建免费账户 ->->

Apache, Apache ZooKeeper and the ZooKeeper logo are trademarks of the Apache Software Foundation.