Inside the lamp: How GENIEE used ClickHouse to stabilize and optimize ad performance reporting
GENIEE replaced its Kafka-plus-Flink ad reporting pipeline with two ClickHouse clusters, one for log aggregation and one for reporting. The old setup suffered frequent Flink failures that forced manual recounts, and reports took 40+ minutes at peak. Logs now flow through the Kafka table engine into materialized views and SummingMergeTree tables for automatic pre-aggregation, with dictionaries handling advertiser metadata lookups. The team reports reports dropping from hours to minutes, fewer failures and fewer servers, and is next looking at projections, compression tuning and binary log formats instead of JSON.
Related posts
- How FabFunnel powers real-time marketing analytics with ClickHouse Cloud
ClickHouse mediumAdept
FabFunnel moved its marketing analytics off a normalized MySQL reporting stack, where month-long queries took 11 seconds and year-long reports crashed browsers due to client-side merges, to ClickHouse Cloud. Spend and revenue data now stream through Confluent Kafka via ClickPipes into ReplacingMergeTree tables, which replace the old delete-and-reinsert refresh cycle. Refreshable materialized views pre-aggregate into a single reporting table, and a buffer table handles real-time click data. Queries now return in under a second, and the system handled 19.2M queries reading 11.67 trillion rows in one month.
- 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.
- 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%.
- “Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud
ClickHouse mediumAdept
Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud. The pipeline streams Postgres CDC via Debezium into per-table Kafka topics. Stateless Python enrichers denormalize the records, and a connector loads them into ReplacingMergeTree tables, with recurring OPTIMIZE and FINAL queries handling deduplication. A local benchmark of 60M transactions partitioned by business ID ran 16,000 randomized queries in 12 seconds, and a four-engineer pod shipped to production in about two months. The platform now backs in-app Reporting and Budgets, and Ramp plans to add enriched tables for every core data type.
- “A generational leap”: How Trio unified payment analytics and cut storage by 88% with ClickHouse Cloud
ClickHouse mediumAdept
Trio, a Brazilian payments fintech processing 243M+ payments in H1 2025 and over 1B events a day, consolidated legacy and active systems into ClickHouse Cloud as a single analytical source of truth for reconciliation, compliance and dashboards. Events arrive via Redpanda into a custom ETL service (chosen over ClickPipes for control over schema drift) and via Airflow batch loads. Late, duplicate and out-of-order payment events are handled with a sliding window: refreshable materialized views recompute only a recent range (e.g. the last four hours every five minutes), ReplacingMergeTree deduplicates replays, and careful partitioning avoids global merges. Storage dropped about 88%, and a 5-billion-row migration went smoothly with minimal tuning.