Updated on 2023-07-06 GMT+08:00

What Is FunctionGraph?

FunctionGraph hosts and computes event-driven functions in a serverless context while ensuring high availability, high scalability, and zero maintenance. All you need to do is write your code and set conditions.

Figure 1 shows the process of using FunctionGraph.

Figure 1 Usage process

1. Write code.

Write code in Node.js, Python, Java, or Go.

2. Upload code.

Currently, you can edit code inline, upload a ZIP or JAR file, or obtain a ZIP file from OBS. For details, see Table 2.

3. Trigger functions by API calls or cloud service events.

Call RESTful APIs or use cloud service event sources to trigger function execution and generate instances to implement service functions.

4. Auto scaling is implemented.

During function execution, FunctionGraph scales automatically based on the number of requests without the need for configurations. For details about the maximum number of function instances that can be run concurrently, see Notes and Constraints.

5. View logs.

View run logs of functions as FunctionGraph is interconnected with Log Tank Service (LTS).

6. View monitoring information.

View graphical monitoring information as FunctionGraph is interconnected with Cloud Eye.