Concurrency Check
Rule Details
Parameter |
Description |
---|---|
Rule Name |
function-graph-concurrency-check |
Identifier |
Concurrency Check |
Description |
If the number of concurrent requests allowed by a function is not within the specified amount, this function is non-compliant. |
Tag |
fgs |
Trigger Type |
Configuration change |
Filter Type |
fgs.functions |
Rule Parameters |
|
Application Scenarios
FunctionGraph can concurrently process multiple requests on a single instance. For more information, see Configuring Single-Instance Multi-Concurrency.
Extraordinarily high or low function concurrency may cause the following problems:
- High concurrency may cause resource contention, increase the latency and error rate, and even lead to request discarding.
- Low concurrency may prolong the request waiting time, affecting user experience. Low concurrency may fail to cope with traffic surges, affecting service continuity.
Solution
Set the concurrency for a single instance based on the specified amount and service scenarios. For details, see Configuring Single-Instance Multi-Concurrency.
Rule Logic
- If FunctionGraph is disabled, the configuration is compliant.
- If FunctionGraph is not disabled and the single-instance concurrency is within the specified amount range, the configuration is compliant.
- If FunctionGraph is not disabled and the single-instance concurrency is outside the specified amount range, the resource is non-compliant.
If the single-instance concurrency is exactly the boundary value (concurrencyLimitLow or concurrencyLimitHigh), the instance is compliant.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot