Architecture
This diagram presents a high-level overview of data flow in NativeLink.
- The
client
such as Bazel, Buck2 or Reclient creates a job and sends it to thescheduler
’s job queue. - The
scheduler
finds a suitable worker in the worker pool and routes the job to it. - The
worker
runs the job, sending output artifacts to thecas
. - The
worker
provides download instructions for the artifact to thescheduler
. - The
scheduler
forwards the download instructions to theclient
.
In conclusion, the client created a job and sent it to NativeLink and gets a response that lets it download the built artifact.