tencent cloud

Cloud function
Last updated:2025-12-31 11:48:17
Cloud function
Last updated: 2025-12-31 11:48:17

Overview

CloudBase SCF is a serverless computing service provided by cloud development, allowing you to run backend code without the need to manage servers.

SCF runs on a Serverless base. You just need to write code in supported languages (Python, Node.js, PHP, Golang, Java, etc.), and CloudBase will fully manage the underlying computing resources. CloudBase automatically handles the management and maintenance of the underlying infrastructure.

If you are a first-time user of SCF, it is recommended to read the Quick Start document to quickly experience the basic features of SCF.

Quick Start

How to write a cloud function - Learn how to write a cloud function
Scheduled trigger - Trigger SCF at scheduled times
Preset concurrency - Resident cloud function instance
Manage SCF via CLI - Quickly manage cloud functions through the command line
Layer management - Independently manage resources like dependency libraries and common code files to enable code reuse across multiple functions
SCF security rule - Precise control over user invocation permissions for cloud functions

What Is SCF

SCF is an event-driven computing service that allows you:
Focus on business logic: Just write core business code, no need to worry about server configuration, maintenance, and scaling.
Run as needed: Functions only run when called and incur no fees when no resources are consumed.
Automatic scaling: Automatically adjust computing resources based on request volume, scaling from zero to tens of millions in concurrency level.
Multiple trigger sources: Support SDK calls, HTTP requests, timers, and other trigger modes.

Core strengths

Multi-Device Access

Support Web, mini program, Node.js, and other SDK calls
Provide HTTP API, support any client access
Seamless integration with other CloudBase services, internal calls require no key

Zero Ops

Serverless management, automatic infrastructure processing
Built-in load balancing and fault migration
Support various runtime environments: Node.js, Python, Java, Go, PHP

Elastic scaling

Cold startup in milliseconds, quick response to requests
Automatic scaling, maximum concurrency of 1000
Billed by actual usage, zero cost during idle time

Developing with Convenience

Use CloudBase CLI tool to quickly deploy
Support Cloud Development Platform/SCF visual management
Various examples and templates for quick start

Use Cases

API service: Build RESTful APIs and GraphQL services
Data processing: file processing, data transformation, image processing
Scheduled tasks: data sync, report generation, cleanup tasks
Event handling: Message Queue processing, Webhook response
Web application: SSR rendering, real-time communication, file upload
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback