All Products
Search
Document Center

Alibaba Cloud Service Mesh:ConcurrencySchedulingPolicy fields

Last Updated:Mar 11, 2026

The ConcurrencySchedulingPolicy CustomResourceDefinition (CRD) is part of the Service Mesh (ASM) traffic scheduling suite. It limits concurrent requests and uses priority-based scheduling to handle excess traffic.

How it works

ConcurrencySchedulingPolicy combines two mechanisms:

  • Concurrency limiting: max_concurrency sets the maximum number of simultaneous requests. concurrency_limiter configures the concurrency limiter.

  • Priority-based scheduling: When concurrent requests exceed max_concurrency, scheduler schedules excess requests based on their priorities.

Both mechanisms apply only to requests that match the selectors criteria.

ConcurrencySchedulingPolicySpec

ConcurrencySchedulingPolicySpec is the top-level configuration under the spec field.

FieldTypeRequiredDescription
concurrency_schedulerConcurrencySchedulerYesConcurrency limiting and priority-based scheduling configuration.

ConcurrencyScheduler

ConcurrencyScheduler defines the concurrency limit, the limiter algorithm, the priority scheduler, and the request selectors.

FieldTypeRequiredDescription
max_concurrencyint64YesMaximum number of concurrent requests allowed.
concurrency_limiterConcurrencyLimiterParametersYesConfiguration for the concurrency limiter.
schedulerSchedulerYesConfiguration for the scheduler that schedules requests based on their priorities when the number of concurrent requests exceeds max_concurrency.
selectors[]SelectorYesSelectors that determine which requests this policy applies to.