Answer the question
In order to leave comments, you need to log in
So is it possible to use Zookeeper + Clickhouse on the same server?
In the Clickhouse documentation, I often see the warning:
Do not run ZooKeeper on the same servers as ClickHouse. Because ZooKeeper is very sensitive for latency and ClickHouse may utilize all available system resources
Answer the question
In order to leave comments, you need to log in
performance tests.
You can see for yourself if it works for you or not.
If problems start - you will know that it's time to distribute to different servers, as an officially recommended action
At least very undesirable. Clickhouse loves to eat the processor, and Zookeeper is critical to delays, i.e. if the clickhouse eats up all the CPU time, the zookeeper will start to crash. "To delays" - means processing requests like keepalive, etc., i.e. processor.
In fact, Zookeeper is sensitive to disk latency,
if you have enough CPU and you can put Zookeeper snapshots and logs on a separate ssd disk not connected to clickhouse, then it will work just fine, you can usually
try these ones that appeared in the latest versions of clickhouse-keeper,
but it is very experimental for now
https://clickhouse.com/docs/en/operations/clickhou...
but can run as part of the clickhouse-server process
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question