☁️FunctionGraph-Cheatsheet / How to Use FunctionGraph Service on HUAWEI CLOUD

Mehmet Altuğ Akgül
Huawei Developers
Published in
3 min readOct 7, 2023

Introduction

I wanted to introduce you to HUAWEI CLOUD services that are used very often when creating this cheatsheet and these articles will be a quick reference for you.
I strongly recommend you check the support page and documentation of the relevant service for detailed information and learn by testing the services.

FunctionGraph allows you to run your code without provisioning or managing servers while ensuring high availability and scalability. All you need to do is upload your code and set execution conditions, and FunctionGraph will take care of the rest. You pay only for what you use and you are not charged when your code is not running.

https://www.huaweicloud.com/intl/en-us/product/functiongraph.html

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.

Product Advantages

No Servers to Manage

FunctionGraph automatically runs your code and frees you from provisioning and managing servers, allowing you to focus on business innovation.

Auto Scaling

FunctionGraph automatically scales to suit fluctuations in resource demands and ensures that the service remains accessible even during peaks and spikes.

Event-based Triggering

FunctionGraph integrates with multiple cloud services using an event-based triggering mechanism to meet service requirements.

High Availability

If an instance becomes faulty, FunctionGraph starts another instance to process new requests and releases resources from the unhealthy instance.

Pay per Use

You will be billed based on the number of function requests and execution duration and will not be charged when your code is not running.

Reserved Instance Billing

Reserved instances can be created to initialize functions to eliminate the influence of cold start on your services. Reserved instances are always alive in the execution environment.

Dynamic Resource Adjustment

Resource specifications can be dynamically adjusted to minimize resource usage and reduce costs.

Application Scenarios

FunctionGraph is suitable for various scenarios, such as real-time file processing, real-time data stream processing, web & mobile application backends, and AI application.

Scenario 1: Event-Driven Applications

Scenario 2: Web Applications

Scenario 3: AI Applications

Supported Programming Languages

General Procedure

Conclusion

In this article, I created a cheat sheet and quick reference page for you to use HUAWEI CLOUD services.

While using services, you should pay attention to billing and usage types. You should turn off unused services.
I recommend that you pay attention to these so that you do not encounter unexpected bills. I wish you good developments.

References

--

--

Mehmet Altuğ Akgül
Huawei Developers

Electrical and Electronics & Cloud Product Manager • MBA • Trader • Investor • Lifelong Learner • ✉ info@altug.dev