News for hackers. Stuff that matters.

alesapin

Re:ClickHouse Keeper: A ZooKeeper alternative written in C++ on Wednesday September 27, 2023 @12:11PM (#37676839)
1. Absolutely. clickhouse-keeper is distributed as a standalone static binary or .deb package or .rpm package. You can use it without clickhouse as ZooKeeper replacement. 2. It's not recommended to use slow storage devices for logs in any coordination system (zookeeper, clickhouse-keeper, etcd and so on). Good setup will be small fast SSD/EBS disk for fresh logs and old logs + snapshots offloaded to S3. In such setup the amount of PUT requests will be tiny and latency will be as good as possible.
Re:ClickHouse Keeper: A ZooKeeper alternative written in C++ on Wednesday September 27, 2023 @12:00PM (#37676677)
Yes, you are right ClickHouse Keeper is based on NuRaft. We did a lot of modifications for this library, both for correctness and performance. Almost all of them (need to check) are contributed back to upstream ebay/NuRaft library.
Re:ClickHouse Keeper: A ZooKeeper alternative written in C++ on Wednesday September 27, 2023 @11:58AM (#37676630)
Yes, for internal RAFT implementation boost.asio is used.
Re:ClickHouse Keeper: A ZooKeeper alternative written in C++ on Wednesday September 27, 2023 @11:57AM (#37676612)
All ZooKeeper libraries are compatible with clickhouse-keeper. The most popular and mature is https://kazoo.readthedocs.io/en/latest/. We use it in our integration tests framework (with clickhouse-keeper) a lot.
Re:How to speed up LZ4 decompression on Tuesday June 25, 2019 @11:13AM (#20275044)
Usage of multi-armed bandits for low-level optimizations looks fairly unusual, I cannot remember any other examples in open-source codebases.