Realtime DNS Analytics at Cloudflare with #ClickHouse
summary
Cloudflare ingests DNS logs from hundreds of POPs, handling over 100 billion queries per day for 6 million properties and spikes to millions of queries per second, and stores raw log entries in a ClickHouse cluster to power customer-facing and internal analytics. The pipeline uses Kafka and log-forwarders to cope with late-arriving data, keeps three months of raw rows (trillions of rows) and precomputes aggregation windows (1m/5m/1h) so ad-hoc SQL queries over high-cardinality fields complete in seconds.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:12What is Cloudflare
- 0:47Cloudflares infrastructure
- 1:13DNS analytics
- 2:12Custom analytics
- 2:41What Cloudflare wanted
- 5:54Cast
- 7:24Architecture
- 8:00How Cloudflare got here
related talks
17mUsing ClickHouse® Database to Power an Analytics and Customer Engagement Platform
30mBuilding For Fast
42mClickHouse: what is behind the fastest columnar database
55mBuilding Fast ClickHouse Analytics for MySQL Transaction Data Using Kubernetes
34mClickHouse® - What is Behind the Fastest Columnar Database?
28mColumnstore Revolution
27mFast DIY O11y with OpenSrc Analytics & Visualization
41mData warehouse and Kubernetes: Lessons from ClickHouse Operator
