Product Advantages

  • No Servers to Manage

    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.

  • Auto-scaling

    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.

  • Event-based Triggering

    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.

  • Pay per Use

    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

  • Event-based Triggering

    Files are uploaded to OBS to trigger file processing functions.

  • Auto-scaling

    FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.

  • Pay As You Go

    You will be billed only for the time it takes to process your files, and you will not be charged for idle resources when service demands are low.

Related Services

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

  • Event-based Triggering

    Data is collected by means of DIS streams to trigger data processing functions.

  • Auto-scaling

    FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.

  • Pay As You Go

    You will be billed only for the time it takes to process your data, and you will not be charged for idle resources when service demands are low.

Related Services

Web & Mobile Backends

FunctionGraph combines with other Huawei Cloud services or your virtual machines to quickly build web & mobile backends with high availability and scalability.

Advantages

  • High Availability

    FunctionGraph ensures high reliability of website data using OBS and CloudTable, and high availability of website logic using API Gateway.

  • Auto-scaling

    FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.

  • Pay As You Go

    You will be billed only for the time it takes to process your data, and you will not be charged for idle resources when service demands are low.

Related Services

Artificial Intelligence

FunctionGraph combines with Huawei Cloud EI services for fast text recognition and illicit image identification.

Advantages

  • Fast Availability

    Image upload triggers functions for text recognition and content moderation in a wide range of scenarios. You can make adjustments whenever you need to as demands change.

  • Easy O&M

    You only need to apply for required services and write and run service code. There is no need to provision or manage servers by yourselves.

  • Pay As You Go

    You will be billed only for function execution and EI services used, and you will not be charged for idle resources when service demands are low.

Related Services

Highlights

  • Function Management

    Web-based console for managing functions

    Web-based console for managing functions

  • Flexible Specifications

    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

  • Editing Code Inline
    Editing Code Inline

    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.

  • Uploading Function Packages
    Uploading Function Packages

    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.

  • Uploading Function Packages from OBS
    Uploading Function Packages 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.

    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.

  • Multiple Runtimes
    Multiple Runtimes

    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.

  • Wide Memory Range
    Wide Memory Range

    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.

  • Auto-scaling

    Automatic scaling of function instances based on the number of requests

    Automatic scaling of function instances based on the number of requests

  • High Availability

    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

  • Requests-based Scaling
    Requests-based Scaling

    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.

  • Automatic Fault Recovery
    Automatic Fault Recovery

    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.

  • Event-based Triggering

    Multiple types of triggers supported to execute functions


    Multiple types of triggers supported to execute functions

  • Monitoring and Logging

    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

  • Triggering Functions by Different Event Sources
    Triggering Functions by Different Event Sources

    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.

  • Function Monitoring
    Function Monitoring

    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.

  • Function Logging
    Function Logging

    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.