Last update:2024-09-05 15:23:22
To ensure platform stability and fair resource allocation, CDNetworks Edge Application enforces certain usage limits. Please refer to these limits when designing and deploying your applications to ensure their smooth and reliable operation. If you require higher resource quotas or customized services, please contact the CDNetworks technical support team.
Property | Limit | Description |
---|---|---|
Memory Consumption | 1024MB (1GB) | The memory size of a single function on a single machine. All requests for all domains associated with the same function share this 1GB memory. |
Function Count | 10 | The maximum number of functions that can be created per CDNetworks master account. |
Function File Size | Unlimited | You have the freedom to build complex functionality without file size constraints. |
Environment Variable Count | 20 | The maximum number of environment variables that can be configured per function. |
Environment Variable Size | Key: 2-64 characters Value: 1-512 characters |
Environment variables cannot be empty or extended beyond these limits. |
Trigger Count | Unlimited | You can flexibly configure triggers to respond to various events based on your needs. |
Note
Account-level limits are shared among the master account and all its sub-accounts.
Property | Default Value | Unit | Description |
---|---|---|---|
Mode Type | Global Mode | - | • Global Mode: Data is stored centrally, with the edge caching necessary data and managing data freshness. When data is missing at the edge, it’s automatically pulled from the central node or updated via push notifications. • Local Mode: Data is only stored, read, written, and deleted locally at the edge node, with requests bypassing the central node, eliminating the need for data freshness management. • Mirror Mode: The central node pushes all data to the edge in advance, creating mirrored copies of the central data across multiple edge nodes. Edge nodes do not need to manage data freshness or pull data from the central node as updates are automatically pushed from the central node. |
Storage Duration | Global Mode: Permanent Local Mode: 2,592,000 seconds (30 days) Mirror Mode: 2,592,000 seconds (30 days) |
Seconds | The maximum storage period for keys within the namespace. Each key’s expiration time cannot exceed this period. |
Space Capacity | 1024MB (1GB) | Space | The total capacity of the namespace. |
Key Length Limit | 512B | Space | The maximum length limit for keys. |
Value Length Limit | 1,048,576B (1MB) | Space | The maximum length limit for values. |
Write Frequency | 1 per second | Space | The maximum number of write operations allowed per second for a single key. |
Note
When creating a namespace, you can choose the appropriate mode type based on your use case. Once a type is selected, it cannot be modified.