Scatter-Gather - CI/CD用語集の定義
スキャッターギャザーは、作業を並列のworkerへ分配し、その部分結果をマージします。
スキャッターギャザーとは、タスクを並列のworkerへ散らし(scatter)、その部分結果を1つの最終的な答えへ集める(gather)パターンです。CIでは、ファンアウトに続くファンインへと対応づけられます。
スキャッターギャザーは、作業を分割して再結合するまでの一連の往復に名前を付けたものです。CI pipelineは、シャード化されたテスト、分散build、並列lintingにこれを使います。
CIでは
スキャッターギャザーのpipelineには3つのフェーズがあります。作業を列挙するscatterのstep、並列のworker job、そして出力を結合するgather jobです。gather jobがファンインの地点です。
関連ガイド
Fan-Out - CI/CD Glossary DefinitionFan-Out: Fan-out is splitting one CI job into many parallel jobs so independent work (test shards, matrix com…
Fan-In - CI/CD Glossary DefinitionFan-In: Fan-in is the point where many parallel CI jobs converge into a single downstream job that aggregates…
Work Stealing - CI/CD Glossary DefinitionWork Stealing: Work stealing is a scheduling technique where idle workers take pending tasks from busy worker…