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.
Write code.
Write code in Node.js, Python, Java, or Go. For details, see the FunctionGraph Developer Guide.
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.
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.
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.
View logs.
View run logs of functions as FunctionGraph is interconnected with Log Tank Service (LTS). For details, see section "Querying Function Logs".
View monitoring information.
View graphical monitoring information as FunctionGraph is interconnected with Application Operations Management (AOM). For details, see section "Viewing Function Metrics"
Billing mode
After a function is executed, you will be billed based on the number of function execution requests and execution duration.