To meet user requirements in different scenarios, Function Compute provides four function types: event functions, web functions, task functions, and GPU functions. You can select a function type based on your business scenario and then follow the specific creation steps in the corresponding function creation document.
Select a function type
When using Function Compute, you can select a suitable function type based on your business scenario and technology stack preference.
Comparison item |
Comparison item | ||||
Features | Used for processing files and data streams, can be triggered by events from various cloud products (such as OSS trigger, Kafka trigger, SLS trigger). | Supports mainstream web application frameworks and can be accessed through a browser or invoked using a URL. | Used for processing asynchronous requests and can track and save the states of an asynchronous invocation in each phase. | Supports container images for popular AI projects (such as Stable Diffusion WebUI, ComfyUI, RAG, TensorRT) to quickly build AI model inference services. |
Scenarios |
|
|
|
|