Interview Prep/CI/CD/Pipeline Design and Architecture

How do you size and choose runners for different workloads?

IntermediateProductionPipeline Design and Architecture
Answer

Profile jobs: compile-heavy builds benefit from more CPU, test jobs with databases need RAM, image builds need fast disk and network. Create runner pools by label (small, large, gpu, arm64, deploy) and let jobs request the smallest pool that fits. Look at queue time and utilisation: if jobs wait more than a minute or two at p95, scale up; if utilisation is below 30%, consolidate. Pin sensitive deploy jobs to an isolated pool.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Pipeline Design and Architecture