Distributed Build とは何か?
distributed build は、プロジェクトの build 作業を複数のマシンに分散し、独立したコンパイルと test のユニットを同時に実行させます。coordinator が依存関係グラフに基づいてアクションを worker にスケジュールし、その後結果を組み立てます。目的は、長い直列の build を短い並列の build に変えることです。
なぜ重要か
build に数千の独立したステップがある場合、総 CPU 作業量が変わらなくても、マシンを追加することで実時間を劇的に短縮できます。分散が効果を発揮するのは、依存関係グラフが十分な並列性を露出し、入力を送るネットワークコストが控えめなままである場合に限られます。これは、共有作業が二度と繰り返されないよう、リモート caching と自然に組み合わさります。
関連ガイド
What Is a Remote Build Executor?A remote build executor is a worker that runs build actions on a separate machine, letting a build tool offlo…
What Is a Build Farm?A build farm is a managed pool of machines dedicated to running builds, providing the shared compute that dis…
What Is Build Sharding?Build sharding splits a build or test suite into independent slices that run on separate machines in parallel…