How Canva handles 3 million logs per second with ClickHouse

Mark Needham
Canva is a $42 billion graphic design platform with 240 million users. Their observability pipeline pushes 3 million logs and spans per second into ClickHouse. This short breakdown covers the three specific changes that made that pipeline fast and cost-effective.
- Push batching to the OTEL collector layer rather than handling it inside ClickHouse
- Design your sorting key around the queries you actually run — Canva used service name, span name, and timestamp to match Jaeger's filters
- For event-driven log ingestion (Kinesis + Lambda), async inserts eliminate blocking and guarantee reliability
- The payoff: 14x compression ratio, 70% storage cost savings, and trace searches that now complete in 2.5 seconds instead of 30
Recent videos
View all Videos
How to
Inspect incoming data with INSERT … RETURNING in ClickHouse
Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.

How to
Reading and writing Vortex files with ClickHouse (26.11)
Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.

