Limits

Last updated: 2020-07-21 17:52:40

    SCF has certain quota limits for each user account.

    Quota Limits

    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

    Note:

    • 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:

    Item Quota Limit
    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 /tmp directory 512 MB
    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

    Increasing Limits

    Currently, limits that can be increased include:

    • Maximum number of functions
    • Maximum number of concurrent executions per function
    • Maximum number of triggers per function
    • Code size of one function
    • Total code size of functions per region

    To increase the limits, please submit a ticket and state the desired items and quantities.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help