キュー深度(Queue Depth)とは?
キュー深度は、トリガーされたものの、まだ空いているrunnerに拾われるのを待っているCIのjobの数です。キュー深度が一貫して高いということは、需要が利用可能なキャパシティを上回っていることを意味し、開発者は結果をより長く待つことになります。これはautoscalingの判断に対する主要な入力です。
なぜ重要か
キュー深度はCIのキャパシティの痛みを最も直接的に測る指標です。キューに入ったjobはどれも待っている開発者を意味します。autoscalingはこれに反応してrunnerを増やし、warm poolは一般的なjobサイズに対してこれをゼロ近くに保つために存在します。Latchkeyはキュー深度に応じてマネージドrunnerをautoscalingし、buildが枯渇せずすぐに始まるようにします。
関連する概念
- 深度の上昇はrunnerキャパシティ不足を示す
- autoscalingとwarm poolのサイジングを駆動する
- 変更のリードタイムに寄与する
関連ガイド
What Is Runner Autoscaling?Runner autoscaling automatically adds or removes CI workers based on job demand, so capacity tracks the queue…
What Is a Warm Pool?A warm pool is a set of pre-booted, idle machines kept ready so CI jobs can start immediately instead of wait…
What Is a Latency Budget?A latency budget is the maximum allowed time for an operation, divided among its stages so each component kno…