(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. |
Programming Language | JavaScript | Currently only JavaScript is supported. |
Number of Console Invocations | 20 times | Each function is allowed to call the console method up to 20 times. Beyond 20 times, print operations will no longer be executed. |
Number of Loop Executions | 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. |
Was this page helpful?