Ensure optimal rate limits are configured for task dispatches in your Cloud Tasks queue settings in order to prevent unexpected spikes in task execution that could exhaust downstream services or exceed quotas. Before running this conformity rule, ensure the rate limits (i.e., "maxDispatchesPerSecond" and "maxConcurrentDispatches") are set in the Trend Cloud One™ – Conformity account settings.
efficiency
Rate limiting determines the maximum rate at which a Cloud Tasks queue dispatches tasks. By configuring optimal rate limits for your Cloud Tasks queues, you can ensure controlled, efficient, and predictable task processing, avoiding disruptions to your application and downstream systems.
Audit
To determine if optimal rate limits are configured for your Google Cloud Tasks queues, perform the following operations:
Remediation / Resolution
To ensure that your Google Cloud Tasks queues have optimal task dispatch rate limits configured, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Understand Cloud Tasks
- Configure Cloud Tasks queues
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud tasks queues list
- gcloud tasks queues describe
- gcloud tasks queues update