Product Advantages
-
Your code is run automatically without the need for provisioning and managing servers, allowing you to focus on your core business.
Your code is run automatically without the need for provisioning and managing servers, allowing you to focus on your core business.
-
Functions automatically scale to suit fluctuations in resource demands, ensuring that the services remain accessible even during peaks and spikes.
Functions automatically scale to suit fluctuations in resource demands, ensuring that the services remain accessible even during peaks and spikes.
-
FunctionGraph works with multiple cloud services (such as SMN, OBS, DIS, and DMS) in an event-based triggering mechanism to meet diverse service requirements and improve development efficiency.
FunctionGraph works with multiple cloud services (such as SMN, OBS, DIS, and DMS) in an event-based triggering mechanism to meet diverse service requirements and improve development efficiency.
-
You will be billed based on the number of requests and code execution duration (precise down to the 100 ms range).
You will be billed based on the number of requests and code execution duration (precise down to the 100 ms range).
Application Scenarios
Real-time File Processing
Uploading files from a client to OBS triggers functions that create image thumbnails in real time, convert video formats, aggregate and filter data files, or implement other file operations.
Advantages
Real-time Stream Processing
FunctionGraph works with DIS to process real-time data streams for such purposes as application activity tracking, orderly transaction processing, stream analysis, data cleansing, log filtering, metrics generation, social media analysis, and IoT telemetry.
Advantages
Artificial Intelligence
FunctionGraph combines with HUAWEI CLOUD EI services for fast text recognition and illicit image identification.
Advantages
Highlights
-
Web-based console for managing functions
Web-based console for managing functions
-
Support for multiple runtimes and function memory sizes ranging from 128 MB to 4 GB
Support for multiple runtimes and function memory sizes ranging from 128 MB to 4 GB
-
For functions in runtimes such as Python and Node.js, you can edit code inline with syntax highlighting.
For functions in runtimes such as Python and Node.js, you can edit code inline with syntax highlighting.
-
You can zip all dependencies and code of a function and upload the package to FunctionGraph.
You can zip all dependencies and code of a function and upload the package to FunctionGraph.
-
For a function package larger than the threshold, you can upload it to OBS and specify the URL of the package in your function. FunctionGraph automatically downloads the function code and dependencies in the package from OBS.
For a function package larger than the threshold, you can upload it to OBS and specify the URL of the package in your function. FunctionGraph automatically downloads the function code and dependencies in the package from OBS.
-
FunctionGraph supports functions in various runtimes, such as Python, Node.js, Java, and Go.
FunctionGraph supports functions in various runtimes, such as Python, Node.js, Java, and Go.
-
The memory size ranges from 128 MB to 4 GB to store function instances.
The memory size ranges from 128 MB to 4 GB to store function instances.
-
Automatic scaling of function instances based on the number of requests
Automatic scaling of function instances based on the number of requests
-
Automatic scheduling of new function instances to process requests in case of instance errors
Automatic scheduling of new function instances to process requests in case of instance errors
-
FunctionGraph automatically scales resources based on the number of service requests during peaks and spikes. It supports load balancing that distributes requests to function instances to ensure high processing performance.
FunctionGraph automatically scales resources based on the number of service requests during peaks and spikes. It supports load balancing that distributes requests to function instances to ensure high processing performance.
-
If an instance becomes faulty, FunctionGraph starts another instance to process new requests and releases resources of the faulty instance.
If an instance becomes faulty, FunctionGraph starts another instance to process new requests and releases resources of the faulty instance.
-
Multiple types of triggers supported to execute functions
Multiple types of triggers supported to execute functions -
Function metrics monitoring and run logs collection to provide a full view of function statuses
Function metrics monitoring and run logs collection to provide a full view of function statuses
-
OBS: Functions are triggered when operations, such as uploading, copying, and deleting objects, are performed on a bucket. For example, a function is invoked to compress and transform the images or videos uploaded to a specified bucket.
SMN: Functions are triggered to process messages sent to a specified SMN topic.
DIS: Functions are triggered to process the data uploaded to a specified DIS stream.
DMS: Functions are triggered to process messages sent to a specified DMS queue.
APIG: Functions are triggered to perform specified operations when a custom REST API is called.
Timer: Functions are triggered according to configured rules.
Manual invocation: You can manually invoke functions using an API or the console for debugging purposes.
OBS: Functions are triggered when operations, such as uploading, copying, and deleting objects, are performed on a bucket. For example, a function is invoked to compress and transform the images or videos uploaded to a specified bucket.
SMN: Functions are triggered to process messages sent to a specified SMN topic.
DIS: Functions are triggered to process the data uploaded to a specified DIS stream.
DMS: Functions are triggered to process messages sent to a specified DMS queue.
APIG: Functions are triggered to perform specified operations when a custom REST API is called.
Timer: Functions are triggered according to configured rules.
Manual invocation: You can manually invoke functions using an API or the console for debugging purposes.
-
FunctionGraph displays key metrics of functions, including invocations, errors, throttles, and execution duration.
FunctionGraph displays key metrics of functions, including invocations, errors, throttles, and execution duration.
-
FunctionGraph records the run logs of functions, making it easy to debug and audit functions through log query.
FunctionGraph records the run logs of functions, making it easy to debug and audit functions through log query.