Skip to main content

#Cloudflare traced a slowdown in its billing pipeline to contention in…

#Cloudflare traced a slowdown in its billing pipeline to contention in ClickHouse’s query planning stage.

After profiling the bottleneck, the team contributed fixes to #ClickHouse that: ➤ Replaced an exclusive lock with a shared lock ➤ Eliminated per-query copying of the parts list ➤ Improved part filtering

Learn more: https://bit.ly/4fB9HCD

#InfoQ #Database

Preview image for Cloudflare Identifies Query Planning Bottleneck in ClickHouse

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.

bit.ly
View original 0 Likes 0 Boosts

Comments (0)

No comments yet.