Intermediate12 min readSystem Architecture
Serverless
Executing discrete functions inside dynamic, event-triggered autoscaling environments.
What you'll learn
- Scale-to-Zero
- Cold Start
TL;DR
Executing discrete functions inside dynamic, event-triggered autoscaling environments.
Concept Overview
The Serverless (FaaS - Function as a Service) pattern allows developers to deploy atomic, event-triggered functions directly to cloud hosts, which completely manage server provisioning, operating system patching, and scaling.
Key Architectural Pillars
1
Scale-to-Zero
If a function receives zero traffic, all server instances are terminated, resulting in zero operating costs.
2
Cold Start
The latency delay (1-3 seconds) experienced during the very first invocation after dormancy as the cloud host spins up a container.
