Skip to content

serverless

34 posts

serverless
Lambda Durable Functions vs Step Functions: When the Orchestrator Belongs in Your Code

Lambda durable functions put the orchestrator in your TypeScript. Reach for them when you own the whole workflow; keep Step Functions for cross-team state machines.

aws-lambdastep-functionsserverless+2
Code Architecture by Init Amortization: Lean on Lambda, Heavy Only When Earned

Match architecture weight to each runtime's init-amortization: lean handlers on single-purpose Lambda, more on a Lambdalith, full OOP/DI only on long-lived runtimes.

software-architectureaws-lambdaserverless+3
Lambda Function Granularity: Single Responsibility, Single Scope, or Single Domain?

How to slice AWS Lambda functions: default to single-purpose, treat the single-domain Lambdalith as an earned exception, and the platform forces that decide it.

aws-lambdaserverlesssoftware-architecture+2
Five AWS Lambda Anti-Patterns TypeScript Developers Bring From Monoliths

DI containers, monolithic SDKs, god-handlers, top-level secret fetches, and heavy ORMs - what they cost on cold start, and the functional shape that replaces them.

aws-lambdatypescriptserverless+2
wasmCloud + NATS: Why the Event Bus Is Where Lock-In Really Lives

An exploration thesis: vendor lock-in in event-driven systems lives in the bus topology, not the runtime, and wasmCloud plus NATS make the bus portable.

wasmcloudnatsevent-driven+4
Omnichannel Entitlement Sync: Cross-Platform Subscription Access

How to build a reliable entitlement sync layer that keeps subscription access consistent across web, iOS, and Android with EventBridge and idempotent processing.

webhooksidempotencyentitlements+4
TypeScript AI SDK Comparison: Vercel AI SDK vs OpenAI Agents SDK for Agent Development

A practical comparison of TypeScript AI SDKs for building agents: Vercel AI SDK, OpenAI Agents SDK, and AWS Bedrock, with code examples and decision frameworks.

typescriptai-toolsserverless+4
Running Bun and Alternative JavaScript Runtimes on AWS Lambda

Run Bun and Deno on AWS Lambda with custom runtimes: real performance benchmarks, cost analysis, and production deployment patterns.

aws-lambdabundeno+4
Edge Computing with AWS: CloudFront Functions vs Lambda@Edge

A technical guide to choosing and implementing AWS edge computing for global apps, with practical examples and cost optimization strategies.

awscloudfrontlambda+6
Amazon Cognito Deep Dive: Beyond Basic Authentication

A technical guide to advanced Amazon Cognito: custom auth flows, federation, multi-tenancy, migration strategies, and production-grade security with CDK.

awscognitoauthentication+7
Learning Effect: A Practical Adoption Guide for TypeScript Developers

A practical guide to learning Effect incrementally and integrating it with AWS Lambda, with real code examples, common pitfalls, and production patterns.

typescripteffectaws-lambda+5
Mozilla SOPS: GitOps-Native Secret Encryption That Actually Works

A practical guide to Mozilla SOPS for encrypting secrets in Git: age encryption, AWS CDK and Lambda patterns, and production-ready serverless security.

sopsgitopsterraform+9
AWS AppSync & GraphQL: Building Production-Ready Real-time APIs

Building scalable real-time APIs with AWS AppSync: JavaScript resolvers, subscription filtering, caching strategies, and infrastructure as code patterns.

awsappsyncgraphql+5
SNS/SQS Cross-Account Fan-Out: Building Multi-Account Event Distribution in AWS

Implement secure cross-account event distribution with Amazon SNS and SQS: IAM policies, KMS encryption, AWS CDK, and common production pitfalls.

awsaws-snsaws-sqs+6
Testing Serverless Applications: A Practical Strategy Guide

Build a testing strategy for AWS Lambda, API Gateway, DynamoDB, and Step Functions with practical patterns for fast feedback and reliability.

lambdatestingserverless+11
AWS Messaging Services: SQS vs SNS vs EventBridge - A Decision Framework

Choose between SQS, SNS, and EventBridge by communication pattern, not features, with working CDK examples and a clear cost analysis.

aws-sqsaws-snsaws-eventbridge+5
AWS Step Functions Deep Dive: Building Resilient Workflow Orchestration

Build production serverless workflows with Step Functions: Standard vs Express, Distributed Map, error handling, and cost optimization with working CDK examples.

aws-step-functionsaws-cdkserverless+4
Building Production-Ready AI Agents with AWS Bedrock AgentCore

How AWS Bedrock AgentCore solves the infrastructure challenges of deploying agentic AI at scale, with runtime, memory, gateway, and multi-agent coordination.

aws-bedrockai-agentsagentic-ai+4
Amazon Aurora: Understanding AWS's Cloud-Native Database

A guide to Aurora architecture, I/O cost analysis, and when to choose it over RDS, with migration strategies and real-world decision frameworks.

awsaurorards+6
Builder Pattern in TypeScript: Type-Safe Configuration Across Modern Applications

How the Builder pattern uses TypeScript's type system for safe, discoverable APIs across serverless, data layers, and testing, with working examples.

typescriptdesign-patternsaws-cdk+2
Type-Safe Lambda Middleware: Building Enterprise Patterns with Middy, Zod, and Builder Pattern

Build maintainable, type-safe Lambda middleware with Middy's builder pattern, Zod validation, feature flags, and secrets management for serverless apps.

aws-lambdamiddymiddleware+8
CloudEvents SDK for TypeScript: Standardizing Events in Serverless Architectures

A practical guide to the CloudEvents spec and TypeScript SDK: create, parse, and validate standardized events across AWS Lambda and EventBridge.

typescriptserverlessaws-lambda+3
Lambda Layer Versioning Strategies for Multi-Environment Deployments

Practical approaches to managing Lambda Layer versions across dev, staging, and production with AWS CDK, automated deployment pipelines, and rollbacks.

awslambdaaws-cdk+4
Building Ephemeral Preview Environments with AWS CDK and Serverless

Learn to build automated preview environments using AWS CDK, Lambda, and GitHub Actions for seamless PR testing and review workflows

aws-cdkserverlessci-cd+5
Go for Node.js Developers: A Serverless Migration Journey

Real-world lessons from leading Node.js to Go migrations in serverless environments, including performance gains, team challenges, and practical decision frameworks.

golangnodejsserverless+5
AWS CDK Link Shortener Part 1: Project Setup & Basic Infrastructure1/1

Set up a production-grade link shortener with AWS CDK, DynamoDB, and Lambda: architecture decisions, initial setup, and lessons from URL shorteners at scale.

aws-cdklambdadynamodb+6
AWS Fargate 101: When Your Containers Don't Need a Babysitter1/1

A practical guide to AWS Fargate from someone who's managed too many EC2 instances. Learn when serverless containers make sense and when they don't.

awsfargateecs+4
AWS Lambda Cold Start Optimization: Production Lessons Learned4/4

Production-tested strategies for cutting AWS Lambda cold starts: runtime selection, provisioned concurrency, and practical optimization techniques.

aws-lambdaserverlesscold-start+4
AWS Lambda Memory Allocation and Performance Tuning: The Complete Guide3/4

Tune AWS Lambda performance with production examples: memory optimization, CPU allocation, benchmarking, and cost analysis frameworks.

aws-lambdaserverlessperformance+4
AWS Lambda Production Monitoring and Debugging: Proven Strategies2/4

Production monitoring and debugging for AWS Lambda from real incidents: CloudWatch metrics, X-Ray tracing, structured logging, and alerting.

aws-lambdaserverlessmonitoring+5
AWS Lambda Advanced Patterns and Cost Optimization: The Complete Production Guide1/4

Advanced AWS Lambda patterns and cost optimization: Lambda Layers, VPC configuration, cross-account execution, and architectural decisions.

aws-lambdaserverlesscost-optimization+6
When Middy Isn't Enough - Building Custom Lambda Middleware Frameworks2/2

Discover the production challenges that pushed us beyond Middy's limits and how we built a custom middleware framework optimized for performance and scale

aws-lambdamiddlewarecustom-framework+7
AWS Lambda Middleware with Middy - Clean Code and Best Practices1/2

Discover how Middy transforms Lambda development with middleware patterns, moving from repetitive boilerplate to clean, maintainable serverless functions

aws-lambdamiddymiddleware+6
DynamoDB Toolbox: Streamlining Serverless TypeScript Development

Move from raw AWS SDK complexity to production-ready single-table design with practical DynamoDB Toolbox patterns, common pitfalls, and scaling decisions.

awsdynamodbdynamodb-toolbox+2