Skill 3.6.3
Optimize pipeline concurrency for performance and cost
Key Concepts
Azure Pipelines limits concurrency through parallel jobs. Too few cause queues, and too many waste money, so queue time shows whether to buy more. Batching CI runs with batch: true reduces runs.
GitHub Actions uses concurrency groups, and cancel-in-progress: true stops superseded runs. It should not be used for deployments that must finish. Azure Pipelines environments use Exclusive lock.