System Design
14. Cloud ArchitectureAnimated
Serverless Computing
Run code without managing servers.
The idea
The provider handles provisioning and scaling, charging per use.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
A request reaches the API gateway.
- step:
- 1/4
- at:
- Client
1/10
The green dot is a request moving through the system.
Step by step
- 1Upload code
- 2Events trigger it
- 3The platform scales
- 4You pay per invocation
Where it is used
Variable workloads.
Watch out for
Cold starts and limits.