Going to re:Invent this December? Come party with us and The Chainsmokers ->->

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
Coordination

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.

Icon

Easier setup and operation

Icon

No overflow issues

Icon

Better compression

Icon

Faster recovery

Icon

Less memory used

Icon

Additional guarantees

Coordination

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

Icon

Compatible client protocol (all clients work out of the box)

Icon

The same state machine (data model)

Icon

Better guarantees (optionally allows linearizable reads)

Icon

Uses Raft algorithm (NuRaft implementation)

Icon

Optional TLS for clients and internal communication

Coordination

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
Coordination

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++ + 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.

Start using ClickHouse in minutes

Install ClickHouse for MacOS, Linux, and FreeBSD.

curl https://clickhouse.com/ | sh

Or install for Windows, Docker or see other install options.

Watch this getting started video to learn more about ClickHouse.

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