Help Center> FunctionGraph> Service Overview> Quotas and Usage Restrictions

Quotas and Usage Restrictions

Account Resource Restrictions

The following table provides the quotas for account resources. For details on how to query and modify quotas, see Quotas.

Table 1 Account resource restrictions

Resource

Restriction

Maximum number of functions that can be created under an account

400

Maximum number of versions allowed for a function

10

Maximum number of aliases allowed for a function

10

Maximum number of DDS, DIS, LTS, Kafka, and Timer triggers allowed for a function version

10

Size of function code that can be edited when being displayed on the FunctionGraph console

3 MB

Size of a code deployment package (in ZIP or JAR format) that can be uploaded to the FunctionGraph console

10 MB

Size of a code deployment package (in ZIP or JAR format) that can be edited inline during function API invocation

50 MB

Size of an original code deployment package allowed during function API invocation

250 MB

Maximum size of deployment packages allowed for an account

10 GB

Number of concurrent executions per account

100

Maximum number of reserved instances that an account can create

90 (Number of concurrent executions per account x 90%)

Size of all environment variables of a function

2 KB

Function Running Resource Restrictions

Table 2 Function running resource restrictions

Resource

Restriction

Ephemeral disk space (/tmp space)

512 MB

Number of file descriptors

1024

Total number of processes and threads

1024

Maximum execution duration per request

900s

Valid payload size of invocation request body (synchronous invocation)

6 MB

Valid payload size of invocation response body (synchronous invocation)

6 MB

Valid payload size of invocation request body (asynchronous invocation)

256 KB

Size of imported resources

≤ 50 MB ZIP file

Size of exported resources

≤ 50 MB

  • Valid payload size of invocation response body (synchronous invocation): The returned character string or the JSON character string of the serialized response body is less than or equal to 6 MB by default. The actual data size varies depending on the backend settings of FunctionGraph. The backend determines the size of the serialized data with a byte-level deviation. The actual valid payload size is 6 MB ± 100 bytes.
  • You are not advised to invoke a function whose execution time exceeds 90s on the FunctionGraph console. If you need to invoke such a function, use asynchronous invocation.