Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Product Features

Updated on 2023-11-21 GMT+08:00

Function Management

FunctionGraph provides console-based function management.

  • The Node.js, Java, Python, Go, and custom runtimes are supported. Table 1 provides the details.
    NOTE:

    You are advised to use the latest runtime version.

    Table 1 Runtimes

    Runtime

    Supported Version

    Node.js

    6.10, 8.10, 10.16, 12.13, 14.18, 16.17, 18.15

    Python

    2.7, 3.6, 3.9, 3.10

    Java

    8.0 and 11

    Go

    1.x

    C#

    .NET Core 2.1 and .NET Core 3.1

    PHP

    7.3

    Custom

    -

  • Multiple code entry modes

    FunctionGraph allows you to edit code inline, upload a ZIP file from Object Storage Service (OBS), or directly upload a ZIP or JAR file. Table 2 lists the code entry modes supported for each runtime.

    Table 2 Code entry modes

    Runtime

    Editing Code Inline

    Uploading a ZIP File

    Uploading a JAR File

    Uploading a ZIP File from OBS

    Node.js

    Supported

    Supported

    Not supported

    Supported

    Python

    Supported

    Supported

    Not supported

    Supported

    Java

    Not supported

    Supported

    Supported

    Supported

    Go

    Not supported

    Supported

    Not supported

    Supported

    C#

    Not supported

    Supported

    Not supported

    Supported

    PHP

    Supported

    Supported

    Not supported

    Supported

    Custom

    Supported

    Supported

    Not supported

    Supported

Trigger

Table 3 lists the invocation modes for different trigger types.

Table 3 Function invocation modes

Trigger

Function Invocation Mode

SMN trigger

Asynchronous invocation

APIG trigger

Synchronous invocation

OBS trigger

Asynchronous invocation

Data Ingestion Service (DIS) trigger

Asynchronous invocation

Timer trigger

Asynchronous invocation

Log Tank Service (LTS) trigger

Asynchronous invocation

Kafka trigger

Asynchronous invocation

Logs and Metrics

FunctionGraph graphically displays function monitoring metrics and collects function running logs, enabling you to view function statuses, and locate problems by querying logs.

To query logs, see Managing Function Logs.

For details about monitoring metric, see Function Monitoring.

For details about tenant-level function monitoring metrics, see Introduction to Dashboard.

Function Initialization

The initializer interface is introduced to:

  • Isolate function initialization and request processing to enable clearer program logic and better structured and higher-performance code.
  • Ensure smooth function upgrade to prevent performance loss during the application layer's cold start initialization. Enable new function instances to automatically execute initialization logic before processing requests.
  • Identify the overhead of application layer initialization, and accurately determine the time for resource scaling and the quantity of required resources. This feature makes request latency more stable when the application load increases and more function instances are required.

Unified Plug-in for Development and Debugging

  • VSCode plug-in (off-cloud):

    Create a function using a template, view the function on the cloud, download the function to a local PC for debugging, use the VSCode plug-in to debug the function, and then push the function to the cloud.

HTTP Functions

You can set Function Type to HTTP Function on the function creation page. HTTP functions are designed to optimize web services. You can send HTTP requests to URLs to trigger function execution. HTTP functions support APIG and API Connect (APIC) triggers only.

NOTE:

This feature is supported only by FunctionGraph v2.

Tracing

You can enable tracing for functions. Then you can go to the Application Performance Management (APM) console to view JVM and tracing information. Currently, only Java functions can be traced.

Custom Images

You can directly package and upload container images. The images are loaded and started by the platform and can be called in a similar way as HTTP functions. Unlike the previous code upload mode, you can use a custom code package, which is flexible and reduces migration costs.

NOTE:

This feature is supported only by FunctionGraph v2.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback