Help Center> FunctionGraph> Service Overview> What Is FunctionGraph?
Updated on 2023-08-31 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. You pay only for what you use and you are not charged when your code is not running.

Figure 1 shows the process of using FunctionGraph.

Figure 1 Usage process

1. Write code.

Write code in Node.js, Python, Java, C#, PHP, or Go. For details, see the FunctionGraph Developer Guide.

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). For details, see Querying Function Logs.

6. View monitoring information.

View graphical monitoring information as FunctionGraph is interconnected with Application Operations Management (AOM). For details, see Viewing Function Metrics

7. Billing mode

After a function is executed, you will be billed based on the number of function execution requests and execution duration.