|
1 | 1 | --- |
2 | | -title: "clickhouse-keeper" |
3 | | -linkTitle: "clickhouse-keeper" |
| 2 | +title: "Using clickhouse-keeper" |
| 3 | +linkTitle: "Using clickhouse-keeper" |
4 | 4 | description: > |
5 | | - clickhouse-keeper |
| 5 | + Moving to the ClickHouse® alternative to Zookeeper |
| 6 | +keywords: |
| 7 | + - clickhouse keeper |
| 8 | + - clickhouse-keeper |
6 | 9 | --- |
7 | 10 |
|
8 | | -## clickhouse-keeper |
9 | | - |
10 | | -Since 2021 the development of built-in alternative for Zookeeper is happening, which goal is to address several design pitfalls, and get rid of extra dependency. |
| 11 | +Since 2021 the development of built-in ClickHouse® alternative for Zookeeper is happening, whose goal is to address several design pitfalls, and get rid of extra dependency. |
11 | 12 |
|
12 | 13 | See slides: https://presentations.clickhouse.com/meetup54/keeper.pdf and video https://youtu.be/IfgtdU1Mrm0?t=2682 |
13 | 14 |
|
14 | 15 | ## Current status (last updated: July 2023) |
15 | 16 |
|
16 | 17 | Since version 23.3 we recommend using clickhouse-keeper for new installations. |
17 | 18 |
|
18 | | -Even better if you will use the latest version of clickhouse-keeper (currently it's 23.7), and it's not necessary to use the same version of clickhouse-keeper as ClickHouse® itself. |
| 19 | +Even better if you will use the latest version of clickhouse-keeper (currently it's 23.7), and it's not necessary to use the same version of clickhouse-keeper as ClickHouse itself. |
19 | 20 |
|
20 | | -For existing systems that currently use Apache Zookeeper, you can consider upgrading to clickhouse-keeper especially if you will upgrade clickhouse also. |
| 21 | +For existing systems that currently use Apache Zookeeper, you can consider upgrading to clickhouse-keeper especially if you will [upgrade ClickHouse](https://altinity.com/clickhouse-upgrade-overview/) also. |
21 | 22 |
|
22 | 23 | But please remember that on very loaded systems the change can give no performance benefits or can sometimes lead to a worse performance. |
23 | 24 |
|
24 | 25 | The development pace of keeper code is [still high](https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Apr+keeper) |
25 | 26 | so every new version should bring improvements / cover the issues, and stability/maturity grows from version to version, so |
26 | | -if you want to play with clickhouse-keeper in some environment - please use the most recent ClickHouse releases! And of course: share your feedback :) |
| 27 | +if you want to play with clickhouse-keeper in some environment - please use [the most recent ClickHouse releases](https://altinity.com/altinity-stable/)! And of course: share your feedback :) |
27 | 28 |
|
28 | | -# How does it work |
| 29 | +## How does clickhouse-keeper work? |
29 | 30 |
|
30 | 31 | Official docs: https://clickhouse.com/docs/en/guides/sre/keeper/clickhouse-keeper/ |
31 | 32 |
|
32 | | - |
33 | 33 | ClickHouse-keeper still need to be started additionally on few nodes (similar to 'normal' zookeeper) and speaks normal zookeeper protocol - needed to simplify A/B tests with real zookeeper. |
34 | 34 |
|
35 | 35 | To test that you need to run 3 instances of clickhouse-server (which will mimic zookeeper) with an extra config like that: |
|
0 commit comments