StackPractices

Tag: serverless

Browse 25 practical software engineering resources tagged with "serverless". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving serverless. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Serverless Computing

Serverless computing lets teams run code without managing servers, paying only for execution time. Functions, event sources, and managed services shift operational work to the cloud provider, but introduce new limits in state, latency, and debugging.

The resources below cover AWS Lambda, Azure Functions, Google Cloud Functions, event-driven orchestration, cold starts, and serverless databases. Each recipe shows how to design functions that fit the serverless execution model.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Build HTTP-Triggered Azure Functions with Python

Create HTTP-triggered Azure Functions in Python with binding configuration, async handlers,...

Minimize Cold Start Latency in Serverless Functions

How to reduce cold start times in AWS Lambda, Azure Functions, and Cloud Run using provisioned...

Build Event-Driven Serverless Architectures

How to design loosely coupled systems using serverless functions triggered by events from message...

Implement Event Sourcing in Serverless Architectures

How to capture all changes as immutable events using event sourcing with AWS Lambda, DynamoDB...

Deploy HTTP Cloud Functions on Google Cloud with Node.js

Create and deploy HTTP-triggered Cloud Functions on Google Cloud with Node.js, Express integration,...

Build Real-Time APIs with WebSockets on Serverless

How to implement bidirectional real-time communication using WebSockets with AWS API Gateway,...

Run Scheduled Jobs with Serverless Functions

How to replace cron jobs with serverless scheduled functions for backups, reporting, cleanup, and...

Build Serverless APIs with API Gateway

How to design, deploy, and manage serverless HTTP APIs using AWS API Gateway, Lambda, and...

Design a DynamoDB Single-Table Schema for Serverless Apps

Design a DynamoDB single-table schema with composite keys, GSI patterns, and access patterns for...

Build Serverless Functions

Create and deploy serverless functions with AWS Lambda, Google Cloud Functions, and Azure Functions...

Orchestrate Serverless Workflows with Step Functions and

How to coordinate complex serverless processes using AWS Step Functions, Temporal, and Durable...

Serverless DB Connection Pooling Pattern

Manage database connections across serverless invocations by using external connection poolers,...

Serverless Event Sourcing Pattern

Store function state as an append-only event log so workflows can be replayed, audited, and...

Serverless Fanout Pattern

Broadcast a single event to multiple independent consumers via SNS, EventBridge, or SQS so each...

Serverless Function Composition Pattern

Chain serverless functions via Step Functions or orchestration layers to build multi-step workflows...

Serverless Throttling Pattern

Handle backpressure in serverless by using SQS, token buckets, and concurrency limits to protect...

Serverless Warm Pool Pattern

Keep Lambda functions warm by sending periodic ping events to reduce cold start latency for...

Serverless Cold Start Runbook

Runbook for diagnosing and mitigating serverless cold starts: causes, measurement, optimization...

Serverless Cost Estimation Template

Template for estimating serverless costs per workload: invocation-based pricing, memory-duration...

Serverless Function Deployment Checklist

Pre-deploy and post-deploy checklist for serverless functions (AWS Lambda, Azure Functions, GCP...