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.
More on Pipeline Design and Architecture
What does a good production CI/CD pipeline look like end to end?BeginnerWhat is your target feedback time for CI and how do you hit it?IntermediateHow do you structure repositories: app repo, config repo, pipeline library?IntermediateHow do you design a pipeline for a monorepo with 50 services?AdvancedShould every merge to main deploy to production automatically?IntermediateHow do you keep pipeline definitions DRY across hundreds of repos?Intermediate