Overview

Benefits

Ease of Use
Simply focusing on the essential “core code” without worrying about peripheral components can significantly simplify the service architecture. SCF can dynamically adjust its scaling based on request volume, eliminating the need for manual configuration. Regardless of the fluctuations in application requests, SCF can efficiently allocate appropriate computing resources to fulfill business requirements.

High Efficiency

High Stability and Reliability

Simplified Management
With SCF, intricate setups and the management of OS intrusions, login vulnerabilities, file system security, network security, and port monitoring are now obsolete. The centralized platform features guarantee user isolation via tailored containers. SCF deployment and testing are simplified to a single click, eliminating the need for complex configuration files.

Reduced Overhead
Features
Code Management
Once the code is uploaded, SCF offers a range of code management options:
You can modify the code directly through the console, suitable for business code without external dependencies.
Alternatively, you can package all dependencies and the code into a zip file and upload it to SCF. The platform will automatically extract and execute the designated entry function.
Another option is to bundle dependencies and the code into a zip file, upload it to Cloud Object Storage (COS), and specify the bucket and file object where the code resides in SCF. The platform will automatically retrieve the function code from COS.
Multiple Development Environments Supported
Automatic Scalling
Event Triggers
Presently, the following triggers are supported:
Cloud Object Storage (COS): SCF can be triggered when files are uploaded to or deleted from specified COS buckets. Additional file operations can be executed, such as compressing or cropping images to fit various mobile device resolutions upon upload to a designated bucket.
Timer: SCF can be triggered by a timer, enabling the creation of a more adaptable automatic control system.
Manual Trigger: SCF can be manually initiated through the cloud API/console, facilitating debugging and enhancing SCF usage convenience and transparency.
CMQ Topic Queue Trigger: SCF can be triggered by messages in the CMQ topic queue, where CMQ message queues are used to decouple events, enabling seamless integration with diverse applications.
Monitoring and Logging
SCF offers comprehensive logs for easy monitoring of function operational status, facilitating efficient debugging, testing, and code auditing. Relevant monitoring metrics are reported to provide a quick overview of function performance. Additionally, users can customize monitoring metrics for more thorough and extensive SCF monitoring.
Scenarios
Real-time File Processing
Data ETL Processing
Backends of Mobile and Web Applications
AI Inference and Prediction

In application contexts like video streaming and social networking, users commonly upload substantial volumes of image, audio, and video files, necessitating a processing system with high real-time capabilities and concurrency support. For instance, in the case of user-uploaded video clips, employing multiple SCFs tailored to various resolutions (such as 1080p, 720p, etc.) enables separate processing, ensuring users receive optimal performance across different scenarios, even amidst bandwidth constraints and intermittent cellular network connections.

In certain data processing systems, there’s often a need to handle significant volumes of data periodically or according to a schedule. For instance, a securities brokerage firm may analyze transaction data every 12 hours to identify the top five offerings by trading volume, while a flash sale website might process its daily transaction logs to detect stock outage errors and analyze product popularity and trends. SCF’s virtually limitless scalability enables effortless computation of large datasets.
SCF allows for the simultaneous execution of multiple mapper and reducer functions on source data, thereby reducing job completion times. This approach minimizes resource wastage and results in cost savings compared to traditional workflows.

SCF seamlessly integrates with various Cloud services, empowering you to effortlessly develop scalable mobile or web applications featuring robust serverless backends. These applications can operate across multiple IDCs with high availability, alleviating the need for manual management of scaling, backups, and redundancies.
Once an AI model is trained, utilizing the inference service becomes straightforward. With our Serverless Cloud Function (SCF), you can encapsulate the data model within an API request, and the code is executed upon receipt. There’s no need for upfront investment in servers or GPUs. You only incur charges for actual usage, and benefit from our automatic high-concurrency scaling capability.
Distributed Cloud
Natural Language Processing