CLOUD·중요도 6·2026. 06. 06.·InfoQ

Cloudflare Identifies Query Planning Bottleneck in ClickHouse

── KO ──────────────────

Cloudflare가 ClickHouse의 쿼리 계획 병목현상을 발견하고 수정했다.

Cloudflare는 과금 파이프라인의 지연이 ClickHouse의 쿼리 계획 단계에서의 경쟁으로 인해 발생했음을 밝혀냈다. 팀은 이 병목현상을 프로파일링하고 ClickHouse를 수정하여 독점 잠금을 공유 잠금으로 교체했으며, 쿼리별 파츠 목록 복사를 제거하고 파츠 필터링을 개선했다.


── EN ──────────────────

Cloudflare identified and patched a query planning bottleneck in ClickHouse.

Cloudflare recently traced a slowdown in its billing pipeline to contention within the query planning stage of ClickHouse. The team profiled the bottleneck and made several improvements by replacing an exclusive lock with a shared lock, eliminating the per-query copy of the parts list, and enhancing part filtering.

원문 보기 →목록으로