Building ClickCannon - a tool for benchmarking ClickHouse
Blog post from ClickHouse
ClickCannon is an open-source benchmarking tool designed for ClickHouse that emerged from a project to benchmark observability workloads and build sizing recommendations for ClickStack. Initially developed to address challenges such as determining the necessary hardware to handle observability workloads and simulating realistic user behavior, it evolved into a comprehensive framework for replaying data, generating high-throughput workloads, and measuring performance. ClickCannon can simulate concurrent users, execute realistic query workloads, and collect detailed performance metrics, making it applicable to various ClickHouse workloads beyond observability. The tool provides fine-grained control over throughput, concurrency, and user behavior, allowing users to benchmark custom insert and query workloads. It supports a wide range of throughput and hardware configurations and can utilize both real and generated data for benchmarking. By decoupling reads and inserts and employing a worker-based concurrency model, ClickCannon achieves significant throughput, allowing for meaningful analysis of schema changes and query workloads. Open-sourced to enable broader use, ClickCannon is designed to offer flexibility in modeling realistic workloads, experimenting with pipeline customization, and exploring performance optimizations, thereby providing valuable insights for resource allocation and system configuration.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Observability | 19 | 4,166 | 768 | 194 | +22% |
| OpenTelemetry | 6 | 967 | 177 | 57 | +2% |
| Real-time | 4 | 5,601 | 1,340 | 262 | -2% |
| MCP | 3 | 7,550 | 833 | 207 | +6% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.