Help Center> FunctionGraph> Service Overview> Application Scenarios

Application Scenarios

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

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:

  • FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.
  • Files are uploaded to OBS to trigger file processing functions.
  • You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).

For example, create two buckets in OBS, and build a function for compressing images uploaded to the specified bucket. For details, see Compressing Images.

Real-time Stream Processing

Combine FunctionGraph with DIS to process data streams in real time. FunctionGraph supports application activity tracking, sequential transaction processing, data stream analysis, data sorting, metric generation, log filtering, indexing, social media analysis, and IoT device data telemetry and metering.

Advantages:

  • Data is collected by means of DIS streams to trigger data processing functions.
  • FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.
  • You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).

For example, build a function to process (such as to convert format) the real-time IoT data streams collected by DIS, and store the processed data into CloudTable Service (CloudTable). For details, see Processing DIS Data.

Web & Mobile Backends

Interconnect FunctionGraph with other cloud services or your VMs to quickly build highly available and scalable web & mobile backends.

Advantages:

  • FunctionGraph ensures high reliability of website data using OBS and CloudTable, and high-availability of website logic using API Gateway.
  • FunctionGraph automatically scales out resources to run more function instances as the number of requests increases.
  • You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).

Artificial Intelligence

Integrate FunctionGraph with EI services for text recognition and illicit image identification.

Advantages:

  • FunctionGraph works with EI services for text recognition and content moderation to suit a wide range of scenarios – make adjustments whenever you need as demands change.
  • You only need to apply for related services and write service code without having to provision or manage servers.
  • You will be billed only for function execution and used EI services without having to pay for idle resources when service demands are low.

For example, build a function with an APIG trigger to provide pornographic image identification API services. For details, see Building an AI Application for Identifying Pornographic Images.