Function Compute offers four function types: event function, web function, task function, and GPU function, each suited to different scenarios. Choose as needed and see the related documentation for creation procedures.
Function type comparison
The features and use cases of each function type are as follows:
Comparison item | ||||
Features | Processes files and data streams. Works with various event triggers (such as Object Storage Service (OSS) triggers, ApsaraMQ for Kafka triggers, and Simple Log Service triggers). | Supports mainstream web application frameworks. Can be accessed through a browser or invoked via a URL. | Handles asynchronous requests and records the state at every stage of processing. | Supports container images for popular AI projects (such as Stable Diffusion WebUI, ComfyUI, RAG, and TensorRT), enabling you to rapidly build and deploy model inference services. |
Use cases |
|
|
|
|