This document lists the quotas and limits that apply to Service Extensions. For more information on quotas, see Virtual Private Cloud quotas.
Quotas
A quota restricts how much of a shared Google Cloud resource your Google Cloud project can use, including hardware, software, and network components. Therefore, quotas are a part of a system that does the following:
- Monitors your use or consumption of Google Cloud products and services.
- Restricts your consumption of those resources, for reasons that include ensuring fairness and reducing spikes in usage.
- Maintains configurations that automatically enforce prescribed restrictions.
- Provides a means to request or make changes to the quota.
In most cases, when a quota is exceeded, the system immediately blocks access to the relevant Google resource, and the task that you're trying to perform fails. In most cases, quotas apply to each Google Cloud project and are shared across all applications and IP addresses that use that Google Cloud project.
The following quotas apply to plugin extensions. They can be increased on request.
Quota | Value | |
---|---|---|
Maximum number of plugins per project | 5 | |
Maximum number of versions per project | 50 | |
Maximum number of Wasm actions per project | 5 |
To increase or decrease most quotas, use the Google Cloud console. For more information, see Request a higher quota.
Limits
There are also limits on Service Extensions resources. These limits are unrelated to the quota system. Limits cannot be changed unless otherwise stated.
For plugin extensions
Service Extensions enforces the following usage limits for plugin extensions:
Usage limit | Value | |
---|---|---|
Maximum execution duration per request. The duration is the sum of the durations of all Proxy-Wasm callbacks
associated with the request. Plugins that exceed the limit are terminated,
which causes the associated request to return an |
1 ms | |
Maximum size of a compiled plugin and plugin configuration | 2 MiB | |
Maximum memory used by a plugin Plugins that exceed this memory are terminated, which causes the associated
request to return an |
16 MiB |
For callout extensions
Service Extensions enforces the following usage limits for callout extensions:
Usage limit | Value | |
---|---|---|
Maximum number of global route extensions in a project | 100 | |
Maximum number of global traffic extensions in a project | 100 | |
Maximum number of route extensions per region in a project | 100 | |
Maximum number of traffic extensions per region in a project | 100 | |
Maximum number of elements in a traffic callout chain | 5 | |
Maximum number of callouts in a traffic callout chain | 3 | |
Maximum number of elements in a route callout chain | 5 | |
Maximum number of callouts in a route callout chain | 1 |