SCF has certain quota limits for each user account.
The quota limits for a user account are as follows:
|Item||Default Quota Limit|
|Maximum number of functions in each namespace per region||50|
|Maximum number of concurrent executions per function||300|
|Maximum number of triggers per function||10|
|Maximum number of same-type triggers per function||10|
|Maximum code size of one function (version) (including bound layers)||500 MB|
|Maximum total code size of functions per region||100 GB|
|Maximum environment variable size of one function||4 KB|
- SCF currently supports 10,000-level concurrence, which can effectively support scenarios with high concurrence demand such as ecommerce promotions and parallel processing of medical and biological data.
- For purposes of usage demand and security, the default maximum number of concurrent executions per function is set to 300. To request an increase in quota, please submit a ticket.
The limits for the function runtime environment are as follows:
|Allocated memory||Minimum: 64 MB, maximum: 3,072 MB, in increments of 128 MB starting from 128 MB|
|Temporary cache space, i.e., size of the
|Timeout period||Minimum: 1 second, maximum: 900 seconds|
|Number of file descriptors||1,024|
|Total processes and threads||1,024|
|Sync request event size||6 MB|
|Sync request response size||6 MB|
|Async request event size||128 KB|
You can use API Gateway to pass a Base64-encoded file within 6 MB in SCF. To upload a Base64-encoded file greater than 6 MB, we recommend that you upload it to COS and give the object address to SCF, therefore SCF will pull the file from COS.
Currently, limits that can be increased include:
To increase the limits, please submit a ticket and state the desired items and quantities.