Updated on 2025-07-09 GMT+08:00

Concepts

Function

Functions are code defined to handle events.

Event Source

An event source is a public cloud service or custom application that publishes events.

Runtime

The runtime provides an execution environment for the corresponding programming language to pass function invocation events, context information, and responses.

FunctionGraph currently supports Node.js, Python, Java, Go, C#, PHP, Cangjie, and custom runtimes.

For details, see Function Runtimes.

Synchronous Invocation

Clients wait for explicit responses to their requests from a function. Responses are returned only after the function is invoked.

For details, see Invoking a Function.

Asynchronous Invocation

Clients do not care about the function invocation results of their requests. After receiving a request, FunctionGraph puts it in a queue, returns a response, and processes other requests when there are idle resources.

For details, see Invoking a Function.

Trigger

A trigger is an event that triggers function execution. Triggers can also be used to trigger functions when specified cloud service events occur.

For details, see FunctionGraph Event Sources.

Function Flow

You can drag, configure, and connect components on the UI and create function flow tasks to complete orchestration in complex scenarios.

For details, see Flow Management.

Single-Instance Multi-Concurrency

The number of requests that can be concurrently processed by an instance.

Custom Images

You can directly package and upload container images. The platform then loads and starts these images to create functions.

Custom Function Execution

You can customize scripts and files to execute functions.

Function Logs

Logs generated during function invocation.

Function Monitoring

Monitoring information generated during function execution.

Function Version

FunctionGraph allows you to publish one or more versions throughout the development, testing, and production processes to manage your function code. The code and environment variables of each version are saved as a snapshot. After the function code is published, modify settings when necessary.

Function Alias

You can create an alias for a specific function version. To roll back to a previous version, use the corresponding alias to represent the version instead of modifying the function code.

Each function alias can be bound to a major version and an additional version for traffic shifting.

Dependency Package

A dependency contains public libraries that support the running of function code. You can encapsulate the required public libraries into a dependency for easier management, sharing, and smaller deployment sizes.

For more information about function dependencies, see Configuring Dependency Packages.

Tracing

Service calls can be traced and recorded, so that the execution paths and statuses of service requests in distributed systems can be restored to quickly locate performance bottlenecks and faults.

Bootstrap File

The bootstrap file is the startup file of an HTTP function. The HTTP function can only read bootstrap as the startup file name. If the file name is not bootstrap, the service cannot be started.