Serverless & Edge
Learn serverless functions and edge computing: cold starts, triggers, idempotency, edge runtimes, caching, cost, security and interview prep.
Learn Serverless & Edge free, in English or Hindi, with lessons, shorts and interview questions.
Start course → · Interview questions
32 lessons · 11 modules · Free
What you'll learn
- Explain what serverless and edge computing are, and decide when each fits a workload better than containers or servers.
- Write, test and deploy FaaS handlers for HTTP, queue, schedule and storage triggers, and trace their init and invoke lifecycle.
- Design stateless, idempotent functions that survive retries, duplicates and connection limits.
- Build edge functions with the fetch handler model and use CDN caching and edge data stores with the right consistency.
- Operate serverless systems with structured logs, DLQs, safe rollouts, concurrency limits and cost estimates.
- Secure functions with least privilege, managed secrets and early token checks, and answer common interview questions.
Syllabus
Mental Model and Prerequisites
- What Serverless Really Means
- Regions, PoPs and the Edge
- When Serverless Fits and When It Does Not
Functions as a Service Foundations
- The Handler Contract
- Synchronous, Asynchronous and Poll-Based Invocation
- Execution Environments and Cold Starts
Triggers and Event-Driven Design
- Serving HTTP with Functions
- Queues and Streams as Triggers
- Scheduled Jobs and Storage Events
State, Data and Idempotency
- Designing Stateless Functions
- Idempotency and At-Least-Once Delivery
- Databases for Serverless Workloads
Edge Runtimes
- Edge Runtimes and V8 Isolates
- Writing a Fetch Handler
- Edge Middleware Patterns
Edge Data and Caching
- HTTP Caching at the CDN
- Edge Key-Value Stores and Consistency
- Compute Near Users or Near Data
Tooling, Deployment and Infrastructure as Code
- Infrastructure as Code for Serverless
- Local Development and Testing
- Versions, Aliases and Safe Rollouts
Observability, Failures and Cost
- Logs, Metrics and Traces
- Errors, Retries and Dead-Letter Queues
- Understanding the Cost Model
Performance and Security
- Reducing Cold Start Impact
- Concurrency, Throttling and Downstream Protection
- Securing Serverless and Edge Apps
Architecture Patterns and Pitfalls
- Composition Patterns: Choreography, Orchestration and Fan-Out
- Common Pitfalls and How to Avoid Them
Revision and Interview Prep
- Cheat Sheet: Serverless and Edge on One Page
- Interview and Exam Questions
- Mixed Self-Check