Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Smarter Auto-Scaling for ClickHouse: The Two-Window Approach

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Introduction #
Word Count
1,935
Company Posts That Month
32
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text discusses an optimization strategy for auto-scaling database resources, focusing on a new two-window recommender system that enhances both responsiveness and stability in scaling decisions. The original system used a 30-hour lookback window, which led to slow scale-downs and increased infrastructure costs. The new approach introduces a dual-window system with a smaller 3-hour window for quick scale-downs and a larger 30-hour window for stable scale-ups, accompanied by a target-tracking CPU recommendation system to address the limitations of the previous fixed-factor algorithm. This method improves scale-down latency from 30 hours to 3 hours, minimizes oscillations, and reduces costs while maintaining system stability. Additionally, memory-based recommendations and an automatic idling feature further optimize resources during periods of inactivity. Overall, these advancements in the ClickHouse auto-scaling system enhance efficiency and reliability for dynamic workloads, allowing for better alignment of resource allocation with actual utilization.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.