Fan-Out Factor - CI/CD 用語集の定義
fan-out factor とは、単一の上流 step が生成する並列な下流ユニットの数です。例えば 1 つの job を 30 本のレッグに展開する matrix の fan-out factor は 30 です。これは、そのステージが一度にどれだけの runner の同時実行数を要求するかを決めます。
コストとキャパシティ
高い fan-out factor はレッグを並列に実行することでウォールクロック時間を短縮しますが、それはフリートに十分な同時 runner がある場合に限られます。そうでなければ余分なレッグはキューに入り、並列性は理論上のものにとどまります。また、各レッグが同時にアクセスする共有の依存関係(registry やテスト用データベース)へのコストと負荷も倍増させ、thundering herd を引き起こすことがあります。
関連ガイド
Build Parallelization - CI/CD Glossary DefinitionBuild Parallelization: Build parallelization is splitting work across multiple cores or machines so independe…
Runner Concurrency - CI/CD Glossary DefinitionRunner Concurrency: Runner concurrency is the number of jobs that can execute in parallel across your runner…
Rate Limit Budget - CI/CD Glossary DefinitionRate Limit Budget: A rate limit budget is the quota of requests an API permits per time window before it retu…