Get the latest tech news
Nocc – A Distributed C++ Compiler
A distributed C++ compiler: like distcc, but faster - VKCOM/nocc
That page includes an architecture overview, some info about patching distcc with pch support, and real build times from VK.com production. When nocc traverses dependencies, it also finds all system headers recursively, their hash sums are sent to the remote along with the cpp file info. Note, that if you use a large number of parallel jobs, you'd probably have to increase ulimit -n, as nocc-daemon reads lots of files and keeps all connections to nocc C++ wrappers simultaneously.
Or read this on Hacker News