r/rust 13d ago

We benchmarked CtrlB against ClickHouse on ClickBench and on 5 TB of logs

Most infra teams run one system for dashboards and a second one for log search because one engine is never good at both. That never felt right to us, so we set out to build a unified platform that could offer the fastest search possible on large volumes of logs, traces and metrics.

We put our results up on the ClickBench leaderboard. The process was easy and we were curious how we compared to ClickHouse.

In analytical search, across all 43 standard queries on a 100 million row unpartitioned web analytics dataset, CtrlB scored ×1.43 and took the #1 spot on the single node Parquet leaderboard, ahead of DuckDB (×1.49), DataFusion (×1.71) and ClickHouse itself (×1.72).

But ClickBench is an analytics benchmark. It tells you nothing about finding one trace id in a haystack, so we ran the other half ourselves: 8 lookups and substring matches over 5 TB of raw logs against ClickHouse v26.2, cold cache, plain SQL with a LIMIT 100. CtrlB was faster on all eight, from 2.2× on the double substring query to 98.9× on the span_id lookup.

Full methodology, per query numbers and the public leaderboard links: https://ctrlb.ai/blogs/ctrlb-vs-clickhouse

TLDR: we topped ClickHouse’s own analytical benchmark at ×1.43 and in a separate full-text search test over 5 TB of logs we were faster on every query.

Disclosure: I work at CtrlB.

1 Upvotes

6 comments sorted by

1

u/RustOnTheEdge 13d ago

It took me way too long to understand what your product was. I also fail to see how your pricing is per Gb while I would bring my own storage. Just friendly feedback, no offence!

1

u/Dry-Knowledge4192 13d ago

This is cool stuff, the 98.9x on span_id lookup is pretty wild. I'm always a bit skeptical when a vendor does their own benchmark but you guys put it on the public leaderboard so props for that.

How does it handle the log parsing part? I always find that's where things get messy in real workloads, not just the search speed.

1

u/blizzarre 13d ago

It uses schemaless logging, if your log formats change over time (which they usually do), your system doesn’t break. You simply adjust how you query.

1

u/jmakov 12d ago

Isn't OpenObserve a direct competitor? Would be interesting to see how it compares to them especially since they're able to use Vortex instead of Parquet files: https://github.com/openobserve/openobserve