Queue Depth - CI/CD用語集の定義
queue depthとは、ある時点で空きrunnerを待っているjobの数です。CIフリートの主要な健全性シグナルおよびautoscalingシグナルです。深さがゼロを上回ったままになっているということは、需要が利用可能なrunner concurrencyを超えており、開発者が待たされていることを意味します。
シグナルの読み方
業務時間中に急増し、夜間に解消されるqueue depthは正常です。決してゼロに達しないqueue depthは、フリートが小さすぎることを意味します。queue depthに基づくautoscaling(N個のキュー内jobごとにrunnerを追加)は、待ち時間を一定範囲に保ちます。Latchkeyはqueue depthを監視し、開発者が待ち時間に気づく前にキャパシティを追加します。
関連ガイド
Autoscaling Policy - CI/CD Glossary DefinitionAutoscaling Policy: An autoscaling policy is the rule set that decides when to add or remove runners based on…
Runner Concurrency - CI/CD Glossary DefinitionRunner Concurrency: Runner concurrency is the number of jobs that can execute in parallel across your runner…
Saturation - CI/CD Glossary DefinitionSaturation: Saturation is how full a resource is relative to its capacity, the degree to which it has queued…