ClickHouse Cloud's auto-scaling system previously used a single 30-hour lookback window, causing clusters to remain over-provisioned for up to 30 hours after traffic dropped. The solution introduces a two-window recommender: a 3-hour small window for fast scale-downs and a 30-hour large window for stable single-step scale-ups.

10m read timeFrom clickhouse.com
Post cover image
Table of contents
Introduction #The Problem: Long Lookback Windows #The Two-Window Solution #The Fixed-Factor CPU Scaling Problem #Target-Tracking CPU Recommendation #Memory-Based Recommendation #Automatic Idling #Conclusion #

Sort: