IT lexicon › Infra & Ops › Distributed compilation

Distributed compilation

Infra & Ops På svenska → Updated: 2026-11-13

A technique for offloading compiler jobs to remote servers to reduce local CPU load and speed up builds.

Distributed compilation lets build systems send compiler jobs — especially slow ones — to a network of build machines or a cluster. Tools like Distcc (for GCC) and Icecream (for C++) let developers compile 10x faster by leveraging an entire team's machines. The tradeoff is latency — shipping code over the network adds 50–200 ms per file, which only pays off for heavy workloads.

Distributed compilation was the norm for large C++ codebases (Chromium, LLVM) but is less common in modern build systems like Bazel and Buck that already have built-in pervasive caching and incremental builds.

← Back to the lexicon