serverless
31 posts
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.
An exploration thesis: vendor lock-in in event-driven systems lives in the bus topology, not the runtime; wasmCloud and NATS turn the bus into a portable primitive worth investigating.
How to build a reliable entitlement synchronization layer that keeps subscription access consistent across web, iOS, and Android using EventBridge, webhooks, and idempotent processing.
A practical comparison of TypeScript AI SDKs for building AI agents - Vercel AI SDK, OpenAI Agents SDK, and AWS Bedrock integration. Includes code examples, decision frameworks, and production patterns.
Technical implementation guide for running Bun and Deno on AWS Lambda using custom runtimes, with real performance benchmarks, cost analysis, and production deployment patterns.
A comprehensive technical guide to choosing and implementing AWS edge computing solutions for global applications with practical examples and cost optimization strategies.
A comprehensive technical guide to Amazon Cognito's advanced features including custom authentication flows, federation patterns, multi-tenancy architectures, migration strategies, and production-grade security implementation.
A comprehensive guide to understanding Effect, learning it incrementally, and integrating it with AWS Lambda. Includes real code examples, common pitfalls, and practical patterns from production usage.
A comprehensive guide to Mozilla SOPS for managing encrypted secrets in Git repositories. Learn age encryption, AWS CDK patterns, AWS Lambda integration, and production-ready security strategies for serverless workflows.
A comprehensive guide to building scalable real-time APIs with AWS AppSync, covering JavaScript resolvers, subscription filtering, caching strategies, and infrastructure as code patterns.
Learn how to implement secure cross-account event distribution using Amazon SNS and SQS. Covers IAM policies, KMS encryption, AWS CDK implementation, and common pitfalls from real-world deployments.
Learn how to build a comprehensive testing strategy for AWS Lambda, API Gateway, DynamoDB, and Step Functions with practical patterns for fast feedback and production reliability.
Stop choosing based on features; choose based on your communication pattern. A practical guide to selecting between SQS, SNS, and EventBridge with working CDK examples and cost analysis.
Master AWS Step Functions for production-ready serverless workflows. Learn Standard vs Express workflows, Distributed Map processing, error handling patterns, callback integration, and cost optimization strategies with working CDK examples.
Learn how AWS Bedrock AgentCore solves the infrastructure challenges of deploying agentic AI at scale - from prototype to production with runtime, memory, gateway, and multi-agent coordination.
Comprehensive guide to Aurora architecture, cost analysis, and when to choose it over RDS. Includes migration strategies, performance characteristics, and real-world decision frameworks.
Explore how the Builder pattern leverages TypeScript's type system to create safe, discoverable APIs across serverless, data layers, and testing - with working examples from AWS CDK, query builders, and more.
Learn to build maintainable, type-safe Lambda middleware using Middy's builder pattern, Zod validation, feature flags, and secrets management for enterprise serverless applications.
A practical guide to using the CloudEvents specification and TypeScript SDK in serverless projects. Learn how to create, parse, and validate standardized events across AWS Lambda, EventBridge, and other event-driven systems.
Practical approaches to managing Lambda Layer versions across dev, staging, and production environments with AWS CDK, including automated deployment pipelines and rollback strategies.
Learn to build automated preview environments using AWS CDK, Lambda, and GitHub Actions for seamless PR testing and review workflows
Real-world lessons from leading Node.js to Go migrations in serverless environments, including performance gains, team challenges, and practical decision frameworks.
Setting up a production-grade link shortener with AWS CDK, DynamoDB, and Lambda. Real architecture decisions, initial setup, and lessons learned from building URL shorteners at scale.
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.
Real-world strategies for optimizing AWS Lambda cold starts, covering runtime selection, provisioned concurrency, and practical optimization techniques from production environments.
Master AWS Lambda performance tuning with real production examples. Learn memory optimization strategies, CPU allocation principles, benchmarking techniques, and cost analysis frameworks through practical insights.
Comprehensive production monitoring and debugging strategies for AWS Lambda based on real-world incident response, featuring CloudWatch metrics, X-Ray tracing, structured logging, and effective alerting patterns.
Master advanced AWS Lambda patterns including Lambda Layers, VPC configuration, cross-account execution, and comprehensive cost optimization strategies. Real-world migration experiences and architectural decisions from production Lambda usage.
Discover the production challenges that pushed us beyond Middy's limits and how we built a custom middleware framework optimized for performance and scale
Discover how Middy transforms Lambda development with middleware patterns, moving from repetitive boilerplate to clean, maintainable serverless functions
From raw AWS SDK complexity to production-ready single-table design. Learn practical DynamoDB Toolbox patterns, common pitfalls to avoid, and the architectural decisions that scale.