Core serverless computing concepts including event triggers, cold starts, and function as a service platforms like Lambda and Azure Functions.
34 cards · basic cards · AI-written, checked twice. Edit anything.
- What is serverless computing?
- A cloud computing model where the provider manages infrastructure and developers deploy code that runs only when triggered by events, paying only for execution time.
- What does FaaS stand for?
- Function as a Service.
- What is a cold start in serverless?
- The initial delay when a function executes for the first time or after being idle, caused by runtime initialization.
- What is a warm start in serverless?
- When a function executes quickly because its runtime environment is already initialized and available.
- What is AWS Lambda?
- AWS's serverless compute service that executes code in response to events without requiring servers to be provisioned or managed.
- What is Azure Functions?
- Microsoft's serverless compute platform for running event-driven code in the cloud.
- What is Google Cloud Functions?
- Google Cloud's serverless compute service for running code in response to cloud events or HTTP requests.
- What is an event trigger?
- A mechanism that automatically invokes a function in response to a specific event, such as a file upload, database change, or HTTP request.
- What is event-driven architecture?
- A design pattern where components communicate through events and event handlers rather than direct method calls or tight coupling.
- Name three event sources for serverless functions.
- HTTP requests, database changes, file storage events, queue messages, scheduled timers, or API calls.
- What is the typical billing model for serverless?
- Pay-per-use based on the number of function invocations and compute time consumed, usually in millisecond increments.
- What does stateless mean for serverless functions?
- Functions do not retain data between invocations; any required state must be stored in external services like databases or caches.
- How is code packaged in serverless?
- Functions and their runtime dependencies are packaged into lightweight containers that are isolated and executed independently.
- What is provisioned concurrency in Lambda?
- A feature that keeps a specified number of function instances warm and ready to handle traffic without cold start delays.
- What is the maximum timeout for an AWS Lambda function?
- 15 minutes (900 seconds).