aiqbench analysis
Cloudflare resolved a critical billing pipeline slowdown by optimizing ClickHouse's query planning stage, specifically by replacing exclusive locks with shared locks and refining part filtering. This fix addresses contention issues that emerged after scaling data partitions to hundreds of petabytes, offering a valuable reference for teams managing large-scale analytical workloads. The case highlights how subtle changes in partitioning schemes can expose hidden bottlenecks even when standard performance metrics appear normal.
Cloudflare Identifies Query Planning Bottleneck in ClickHouse

Cloudflare recently described how a slowdown in its billing pipeline was traced to contention inside the query planning stage of ClickHouse. The team profiled the bottleneck and patched ClickHouse to replace an exclusive lock with a shared lock, drop the per-query copy of the parts list, and improve part filtering. By Renato Losio
Cloudflare recently described how a slowdown in its billing pipeline was traced to contention inside the query planning stage of ClickHouse. The team profiled the bottleneck and patched ClickHouse to replace an exclusive lock with a shared lock, drop the per-query copy of the parts list, and improve part filtering. Cloudflare's pipeline supports billing and fraud systems, so delays can affect multiple downstream services. After a migration that significantly increased the number of data parts, the…
Excerpt shown under the publisher's RSS terms · 76 words · full text and figures are on the publisher's site
Related coverage

WebMCP Standard Proposal for Agentic Web Actuation Now Available in Chrome (Origin Trials)
InfoQ · Jun 13, 2026

Under the hood, off the hot path: How D1 scales to millions of databases
Cloudflare Blog · Oct 13, 2026

Vertical Advantage: Transforming Industries with Lakebase and Agentic AI
Databricks · Aug 27, 2026

[AINews] The Future of Latent Space
Latent Space · Sep 25, 2026