

(1) The client request is sent to the gateway of an edge node of Tencent Cloud EdgeOne. > (2) The cache of the node responds if the requested content already exists in the cache. > (3) The origin server responds if the requested content does not exist in the cache.(1) The client request is sent to the gateway of an edge node of Tencent Cloud EdgeOne. > (4) Edge Functions receives and executes the JavaScript code. > (5) Subrequests access the cache. > (3) The origin server responds if the requested content does not exist in the cache. (1) The client request is sent to the gateway of an edge node of Tencent Cloud EdgeOne. > (4) Edge Functions receives and executes the JavaScript code. > (6) Subrequests access the public network service.
Content | Limit | Note |
Number of Functions per Site | 100 functions | A single site supports up to 100 edge functions. |
Number of Trigger Rules per Site | 200 rules | A single site supports up to 200 trigger rules for functions. |
Function Name Length | 30 characters | 2 to 30 characters, up to 30 characters. |
Code Package Size | 5 MB | The maximum size for a single function code package is 5 MB. |
Request Body Size | 1 MB | Client requests can carry a body up to 1 MB. |
CPU Time | 200 ms | CPU time slice allocated for single function execution, excluding I/O waiting time. |
Running memory | 128 MB | The maximum runtime memory available to a single function execution environment, including code, variables, and data buffers. The memory of each execution environment is fully isolated. If the memory size exceeds 128 MB, the system will try its best to ensure the current request completes normally. However, under extreme load scenarios, requests that exceed the limit may be reclaimed prematurely. |
Development Language | JavaScript | Currently, only JavaScript is supported. |
Number of console calls | 20 times | A maximum of 20 console method calls are allowed within a single function. After 20 calls are exceeded, the printing operation will no longer be executed. |
Number of Loop Iterations | 100,000 times | In the function, the for, for in, for of, while, do while loops are limited to execute no more than 100,000 times. |
피드백