Files
nexus/wiki/concepts/Serverless-Computing.md
2026-04-22 04:03:04 +08:00

2.0 KiB

title, type, tags, date
title type tags date
Serverless Computing concept
Cloud
Serverless
Cloud Native
Edge Computing
2026-04-26

Serverless Computing (无服务器计算)

Definition

Serverless Computing is a cloud execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Developers can build and deploy applications without worrying about infrastructure management.

Key Characteristics

  • No server management: Cloud provider handles infrastructure
  • Automatic scaling: Resources scale based on demand
  • Pay-per-use: Pay only for execution time
  • Event-driven: Functions respond to events/triggers

Key Platforms

Provider Service
AWS Lambda
Azure Azure Functions
GCP Cloud Functions

Benefits

1. Cost Efficiency

  • Eliminates unnecessary resource consumption
  • No idle capacity costs
  • Pay only for actual execution time

2. Scalability

  • Automatic scaling from zero to thousands of instances
  • Handles traffic spikes without provisioning
  • Global distribution ready

3. Developer Productivity

  • Focus on business logic, not infrastructure
  • Faster deployment cycles
  • Reduced operational overhead

Use Cases

Event-Driven Automation

  • Real-time file processing
  • Automated backups
  • Scheduled tasks and cron jobs

API Backends

  • Microservices architecture
  • Real-time data processing
  • IoT data ingestion

AI/ML Inference

  • On-demand model inference
  • Image and video processing
  • Natural language processing

Relationship to Green Computing

  • Serverless computing contributes to Green Computing by:
    • Eliminating idle resource consumption
    • Optimizing energy efficiency through shared infrastructure
    • Reducing data center carbon footprint