Function Compute offers four function types — event, web, task, and GPU — for different scenarios. Compare them below to choose the right type for your workload.
Function type comparison
Compare the four function types:
|
Comparison item |
||||
|
Features |
Processes files and data streams. Works with event triggers such as Object Storage Service (OSS) triggers, Kafka triggers, and Simple log service triggers. |
Supports mainstream web frameworks. Accessible via browser or URL. |
Handles asynchronous requests and records the state at every stage of processing. |
Provides container images for popular AI projects (Stable Diffusion WebUI, ComfyUI, RAG, TensorRT) to quickly build and deploy model inference services. |
|
Use cases |
|
|
|
|