Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 4 min read Case study easyNovice

DeepL’s journey with ClickHouse

DeepL runs ClickHouse as its central data warehouse for web and app analytics, company metrics, A/B testing and ML personalization. They chose it in 2020 over Hadoop for its easy single-binary deployment and built an MVP pipeline of event API, Kafka, a sink into ClickHouse, and Metabase. Protobuf event definitions serve as the single source of truth: APIs use them to validate events, sinks use them to diff and migrate table schemas automatically, and they generate event documentation. The deployment grew from a single node to 3 shards × 3 replicas ingesting about half a billion rows per day, and ClickHouse array functions simplified the statistics for users exposed to many concurrent experiments.

Related posts

  • Collecting Semi-structured Data from Kafka Topics Using ClickHouse Kafka Engine

    ClickHouse mediumAdept

    Superology, a sports-betting product company, ingests clickstream and other customer quantitative data into ClickHouse straight from Kafka using the Kafka table engine with the Protobuf input format. Events are batched into a single proto message that uses oneof fields for varying event types. Schemas evolve only by adding fields, which keeps them backward compatible; origin table columns are added with ALTER TABLE, and dropped fields are deprecated rather than removed. Materialized views filter and transform the data for funnels, segmentation and dashboards, tiered storage moves older data to S3, and built-in statistical functions such as welchTTest and mannWhitneyUTest support A/B and Bayesian experimentation.

  • Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse

    ClickHouse easyNovice

    beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline. The design leans on ReplacingMergeTree for idempotent ingestion and event replay, dictionaries to enrich inserts without joins, ephemeral columns for intermediate calculations, materialized views as pre-aggregated shadow tables with alternate sort keys, and window functions for analytics. After six months the system held over 33 billion raw events in 1.5 TiB compressed (13 TiB uncompressed), with 22 ms median and 85 ms average query times. Creators now see send performance within seconds instead of hours.

  • How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster

    ClickHouse mediumAdept

    LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud. Raw events are now queried directly, and materialized views are added only where needed. The system ingests about 6 PB/month of uncompressed JSON through an HTTP API, S3 protobuf batches, Lambda-converted Parquet and INSERT INTO SELECT. Data is fresh in about 30 seconds with roughly 100 days of retention, high-cardinality per-user analytics became practical, and seven product features now run on it. Lessons learned: don't coarsen ORDER BY keys, drop OLTP habits (for example, use two-stage queries for latest-N), and plan for workload isolation as adoption outpaces the platform team. Next steps are ingest-time joins for Release Guardian regression detection and migrating Elasticsearch workloads.

  • Appcues delivers personalized customer engagement with ClickHouse Cloud

    ClickHouse mediumAdept

    Appcues moved its customer-facing product analytics and segmentation from Snowflake plus Airflow rollups to ClickHouse Cloud, covering 1.31 PB of data and over 1 billion user profiles. Events flow through Kafka into a deduplicating consumer. Materialized views replaced the Airflow pre-aggregation jobs, and SharedReplacingMergeTree with argMax instead of FINAL resolves the latest profile state. Lightweight deletes in ClickHouse 25.6 cleared a GDPR deletion backlog. P95 query latency fell from 20+ seconds to under 2, ingestion-to-query latency dropped from 10+ minutes to about 5 seconds, and analytics spend fell 23%.

  • Trillabit Utilizes the Power of ClickHouse for Fast, Scalable Results Within Their Self-Service, Search-Driven Analytics Offering

    ClickHouse easyNovice

    TrillaBit moved its search-driven BI platform from Apache Solr to ClickHouse after Solr proved weak at high-volume aggregation, compression, SQL maturity and joins, and chose ClickHouse over Snowflake on cost and the ability to self-host. The team relies on integration table engines (MySQL/Postgres for metadata lookups, Kafka for streaming IoT data, S3), ReplacingMergeTree to apply delta updates without duplicates, AggregatingMergeTree for incremental aggregation, and views that flatten raw Airbyte JSON with JSON_VALUE. It is now moving to ClickHouse Cloud to offload cluster management. Much of the post is a product pitch for Quick Intelligence's dashboards, embedding and ABAC-based multi-tenancy.

The quest for software engineering knowledge.

Look:
Layout: