Serverless computing Flashcards
What is serverless computing?
A cloud-native platform for short-running, stateless computation (in stateless compute containers) and event-driven applications which scales up and down instantly and automatically, and managed by third parties and charges for actual usage at a millisecond granularity.
Does serverless mean no servers?
check notes for answer + example
What are functions triggered by in serverless computing?
Events.
What is meant by stateful?
Stateful refers to the applications that track the operating state of interaction. Traditional server applications are stateful. E.g. keeping track of client’s shopping basket.
What is meant by stateless?
Stateless refers to the applications that do NOT track the operating state of interaction. In serverless, functions are destroyed as soon as they are finished. States must be kept external to the functions, e.g. in databases, on client side.
What is an API gateway?
An API gateway is an HTTP server where routes and endpoints are defined in configuration, and each route is associated with a resource to handle that route.
Short execution duration and pub/sub as event system.
notes