This document lists the quotas and system limits that apply to Cloud Tasks. Quotas specify the amount of a countable, shared resource that you can use, and they are defined by Google Cloud services such as Cloud Tasks. System limits are fixed values that cannot be changed.
Google Cloud uses quotas to help ensure fairness and reduce spikes in resource use and availability. A quota restricts how much of a Google Cloud resource your Google Cloud project can use. Quotas apply to a range of resource types, including hardware, software, and network components. For example, quotas can restrict the number of API calls to a service, the number of load balancers used concurrently by your project, or the number of projects that you can create. Quotas protect the community of Google Cloud users by preventing the overloading of services. Quotas also help you to manage your own Google Cloud resources.
The Cloud Quotas system does the following:
- Monitors your consumption of Google Cloud products and services
- Restricts your consumption of those resources
- Provides a way to request changes to the quota value
In most cases, when you attempt to consume more of a resource than its quota allows, the system blocks access to the resource, and the task that you're trying to perform fails.
Quotas generally apply at the Google Cloud project level. Your use of a resource in one project doesn't affect your available quota in another project. Within a Google Cloud project, quotas are shared across all applications and IP addresses.
To adjust most quotas, use the Google Cloud console. For more information, see Request a quota adjustment.
There are also system limits on Cloud Tasks resources. System limits can't be changed.
Resource | Value | Description |
---|---|---|
Maximum number of queues: HTTP targets |
1,000 queues |
The total number of queues that can exist in a project per region.
Includes default queue.
Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console. |
Maximum number of queues: App Engine targets |
1,000 queues |
The total number of queues that can exist in a project. Queues that process
tasks for App Engine targets must be in the same region as the
App Engine app. This quota includes the default
queue. Note: This is the quota for queues created via Cloud
Tasks API methods. Any queues created using queue.yaml
however, are based on the older Task Queues method. These queues
continue to have an initial quota of 100.
Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console. |
API requests | 6,000,000 requests per minute |
The total number of API requests that can be made per minute.
Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console. |
Queue dispatch rate | 500 tasks dispatched per second per queue | The maximum rate at which tasks can be dispatched from a queue. To dispatch at higher rates, use multiple queues. |
Maximum task size | 1 MB | The maximum size of a task that can be added to a queue. |
Force run task requests | 60 requests per minute | The total number of run task requests per minute. Note this API is intended for manual debugging and is unrelated to normal task execution. |
List requests | 600 requests per minute | The total number of list tasks, list queues, and list locations requests per minute. |
Task de-duplication window | ~1 hour | The time period during which adding a task with the same name as a recently deleted task will cause the service to reject it with an error. This is the length of time that task de-duplication remains in effect after a task is deleted. |
Inactive queues | Inactive after 30 days |
A queue is INACTIVE if no methods calls are made to
the queue (from any API) and the queue has had no task
dispatches for this period.
|
Max task retention | 31 days | The time between when a task is added to a queue and when it is automatically deleted. |
Maximum schedule time for a task | 30 days from current date and time | The maximum amount of time in the future that a task can be scheduled. |
Queue re-creation | 7 days | The time you must wait after deleting a queue to re-create a queue with the same name. |
Quota increases
You can edit your quotas up to their maximum values by selecting Edit Quotas from the Quotas page of the Google Cloud console page. To request an increase above the maximum quota, edit your quota with your requested increase and justification and submit your update. You will be notified when your request has been received. You might be contacted for more information regarding your request. After your request has been reviewed, you will be notified whether it has been approved or denied.