tencent cloud

Serverless Cloud Function

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Related Concepts
How It Works
Strengths
Scenarios
Related Products
Purchase Guide
Billing Overview
Billing Mode
Billable Items and Billing Modes
Function Computing Power Support
Free Tier
SCF Pricing
Billing Example
Payment Overdue
Getting Started
Creating Event Function in Console
User Guide
Quota Management
Managing Functions
Web Function Management
Log Management
Concurrence Management
Trigger Management
Function URL
A Custom Domain Name
Version Management
Alias Management
Permission Management
Running Instance Management
Plugin Management
Managing Monitors and Alarms
Network Configuration
Layer Management
Execution Configuration
Extended Storage Management
DNS Caching Configuration
Resource Managed Mode Management
Near-Offline Resource Hosting Model
Workflow
Triggers
Trigger Overview
Trigger Event Message Structure Summary
API Gateway Trigger
COS Trigger
CLS Trigger
Timer Trigger
CKafka Trigger
Apache Kafka Trigger
MQTT Trigger
Trigger Configuration Description
MPS Trigger
CLB Trigger Description
TencentCloud API Trigger
Development Guide
Basic Concepts
Testing a Function
Environment Variables
Dependency Installation
Using Container Image
Error Types and Retry Policies
Dead Letter Queue
Connecting SCF to Database
Automated Deployment
Cloud Function Status Code
Common Errors and Solutions
Developer Tools
Serverless Web IDE
Calling SDK Across Functions
Third-Party Tools
Code Development
Python
Node.js
Golang
PHP
Java
Custom Runtime
Deploying Image as Function
Web Framework Development
Deploying Framework on Command Line
Quickly Deploying Egg Framework
Quickly Deploying Express Framework
Quickly Deploying Flask Framework
Quickly Deploying Koa Framework
Quickly Deploying Laravel Framework
Quickly Deploying Nest.js Framework
Quickly Deploying Next.js Framework
Quickly Deploying Nuxt.js Framework
Quickly Deploying Django Framework
Use Cases
Overview
Solutions with Tencent Cloud Services
Business Development
TRTC Practices
COS Practices
CKafka Practice
CLS
CLB Practice
MPS
CDN
CDWPG
VOD
SMS
ES
Scheduled Task
Video Processing
Success Stories
Tencent Online Education
Online Video Industry
Tencent Online Education
Best Practice of Tencent IEG Going Global
API Documentation
History
Introduction
API Category
Making API Requests
Other APIs
Namespace APIs
Layer Management APIs
Async Event Management APIs
Trigger APIs
Function APIs
Function and Layer Status Description
Data Types
Error Codes
SDK Documentation
FAQs
General
Web Function
Billing FAQs
Network FAQs
Log FAQs
SCF utility class
Event Handling FAQs
API Gateway Trigger FAQs
Related Agreement
Service Level Agreement
Contact Us
Glossary

Quota Limits

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-10-16 10:02:18
SCF has certain quota limits for each user account.

User Account Quota Limits

Content
Default Quota Limit
Total function code size per region
100 GB
Total function concurrency quota per region
128,000 MB(Guangzhou, Shanghai, Beijing, Chengdu, and Hong Kong (China))
64,000 MB(Singapore, Tokyo, Silicon Valley, Frankfurt, Shenzhen Finance, and Shanghai Finance)
Number of namespaces per region
5
Total concurrent function quota per namespace
You can purchase a function package to adjust the quota.
Number of functions per namespace
50


Function Quota Limits

Content
Default Quota Limit
Function name length limit
Function name length<=60 characters
Namespace name length<=60 characters
Function name length + Namespace name length<=118 characters
The number of versions of a single function
1000
Maximum code size (including bound layers) per function (version) before compression
500 MB
Maximum number of same-type triggers per function
10
Maximum environment variable size per function
4 KB
Number of layer versions bound to one function version
5


Layer Quota Limits

Content
Default Quota Limit
Number of layers per region
20
Number of versions per layer
200

Note:
SCF currently supports one million MB-level concurrency, which can effectively support scenarios with high concurrency demand such as ecommerce promotions and parallel processing of medical and biological data.
The concurrency quota per region on the SCF platform is shared by all functions by default. You can customize the function concurrency to meet your actual needs. If you want to increase the quotas or add concurrency quota management capabilities at the namespace granularity, you can directly purchase a function package.
In SCF, a COS trigger has limits in two dimensions: SCF and COS, as detailed below:
SCF dimension: One function can be bound to 10 COS triggers at most.
COS dimension: The same event and prefix/suffix rule of one COS bucket can be bound to only one function.

Function Runtime Environment Limits

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
Note:
If the size of a Base64-encoded file is below 6 MB, you can pass the encoded file to SCF through API Gateway; otherwise, we recommend you upload the file to COS and pass the object address to SCF first. Then, SCF will pull the file from COS to complete the upload.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백