Serverless Management

Automatically executes the code and frees users from configuring or managing servers to instead focus on service innovations.

Auto Scaling

Automatically adjusts the resources based on the number of concurrent requests. Its transparent, accurate, and real-time scaling handles service peaks with ease.

Simple and Efficient

Based on the event-triggered mechanism, integrates with multiple cloud services to meet diverse requirements and deliver an efficient R&D experience.

Pay per Use

Bills based on the number of function calls and running duration (counted per 100 ms), and excludes functions not run.

Application Scenarios

  • Real-Time File Processing

  • Data Stream Processing

  • Web & Mobile App Backends

Real-Time File Processing

Real-Time File Processing

Functions triggered immediately to process files after successful OBS uploads. For example, real-time image thumbnail creation, video code conversion, and data files aggregation and filtering.

Advantages

  • Event Triggering

    Function execution is triggered by events, doing away with any need to reserve resources for functions.

  • High Scalability

    Automatically schedules resources, thus running function instances more efficiently to meet service requirements during peak times.

  • Pay per Use

    Bills only for the time during which functions process files or data.

Related Services

OBS

SMN

Data Stream Processing

Real-Time Data Stream Processing

Data streams processed in real time, application activities traced, transactions processed, and social media and IoT device data analyzed all in conjunction with Data Ingestion Service (DIS).

Advantages

  • Event Triggering

    Functions are triggered by events to process data, collected by DIS streams, in batches.

  • High Scalability

    Automatically schedules resources, thus running function instances more efficiently to meet service requirements during peak times.

  • Pay per Use

    Bills only for the time during which functions process files or data.

Related Services

OBS

SMN

Web & Mobile App Backends

Web & Mobile App Backends

Used in collaboration with other HUAWEI CLOUD services or tenant VMs, FunctionStage helps quickly build high-reliability, auto-scaling web and mobile app backends.

Advantages

  • High Availability

    Combines with high availability of OBS and CloudTable to ensure high availability of website logic and data based on the API gateway.

  • High Scalability

    Automatically schedules resources, thus running function instances more efficiently to meet service requirements during peak times.

  • Pay per Use

    Bills only for the time during which functions process files or data.

Related Services

OBS

CloudTable

Functions

Function Management

Web-based console for function management

  • Online code compiling

    "Clarity in Editing Processes": Edit code online using languages such as Python and JavaScript (Node.js), with syntax highlighted.

  • Function package upload

    Packages and uploads all dependencies and functions (in .zip format) to FunctionStage.

  • OBS-based function package management

    All dependencies and function code are packed and uploaded to HUAWEI CLOUD OBS, with clearly specified buckets and file objects. FunctionStage automatically downloads function code from OBS.

Flexible Specs

Support for multiple programming languages, and a function memory ranging from 128 MB to 1.5 GB

  • Multiple languages

    Compiles functions using multiple languages, such as Python, JaveScript (Node.js), Java, and Go.

  • Multiple specifications

    Provides multiple function instance specifications, with function memory ranging from 128 MB to 1.5 GB.

Responsive Scaling

Automatic increase in and reduction of function instances based on the number of concurrent service requests

  • Auto scaling

    FunctionStage automatically adjusts resource usage during peak and idle hours based on the number of service requests. The elastic load balancer automatically distributes service requests to different function instances.

High Availability

Faulty function instances are auto-succeeded by new function schedules to process service requests.

  • Automatic fault recovery

    Faulty function instances are automatically followed by new instances to process subsequent requests, with reclamation of resources occupied by faulty instances.

Event Triggering

Setting of multiple triggers to determine when functions operate

  • Functions triggers

    OBS: Functions triggered to process files upon uploading, copying, and deletion in specified buckets. For example, when uploading images/videos to a specific bucket, a function can be triggered to decompress the size or convert them into different formats.
    SMN: Functions triggered to process messages when messages sent to specified topics.
    DIS: Functions triggered to process DIS streams when data uploaded to specific DIS streams.
    DMS: Functions triggered to process messages when messages sent to specific DMS queues.
    API gateway: Functions triggered to process data when the client calls (customizable) REST APIs.
    Manual function call: Functions manually triggered through APIs or the FunctionStage console, enabling convenient and efficient debugging and general use.

Metrics and Logs

Collection and display of monitoring metrics and function call logs

  • Function monitoring

    Monitoring of key metrics for each function, including the number of total calls, error calls, rejected calls, and call delay, enabling concise presentation of function statuses.

  • Function logs

    Log recording and query for accurate statuses, to help debug or audit functions.

Video Library

Using Hello World

Using SMN Triggers

Using DMS Triggers

Batch Processing Images

Create an Account and Experience HUAWEI CLOUD for Free

Register Now