Jump toUpdate content
Functions limitations
Published on 12 October 2021
This section contains usage limits that apply when using Serverless Functions.
Resources | Criteria | Limits | Scope |
---|---|---|---|
Namespaces | Max Number | 100* | Project |
Functions | Max Number | 1000* | Organization |
Total function memory** | Max Size | 600 GiB | Organization |
Zip Size | Max Size | 100 MiB | Function |
Code Size | Max Size | 500 MiB | Function |
Temporary disk size | Max Size | 512 MiB | Function Instance |
Invocation rate | Max Number | 1000 per second | Function |
Concurrency | Max | 1 | Function Instance |
Scale (Number of simultaneous Function Instance) | Max | 50 | Functions |
Environment Variables | Max Number | 100 | Function + Namespace |
Environment Variables | Max Size | 1000 chars | Environment Variable |
Secret Environment Variables | Max Number | 100 | Function + Namespace |
Secret Environment Variables | Max Size | 65536 bytes | Secret Environment Variable |
Time before scale to zero | Time | 15 minutes | Instance |
Time before scale down | Time | 30 seconds | Instance |
Timeout | Max | 15 minutes | Request |
Payload | Max Size | 6 MiB | Request |
* Lower limits may apply before account verification. Please contact our support team if you have any questions.
** Total function memory is the sum of the memory allocated to all your functions at their maximum Scale.
These limits are enforced as Account quotas.
Configuration Restrictions
In order to ensure the proper functioning of the product, we restrict the use of certain ports and environment variables.
- Blocked ports:
- 25: Due to potential abuse (spam), no outbound traffic is allowed through this port.
- 465: Due to potential abuse (spam), no outbound traffic is allowed through this port.
- Reserved environment variables:
SCW_*
: Reserved for product configuration (for example: token validation)