nodejs
19 posts
A grounded explainer for backend engineers: HMAC-SHA-256 for webhooks, signed URLs, and internal auth, with three-language code and the boundary where digital signatures take over.
A practical introduction to idempotency for developers building APIs, payment flows, and message consumers. Covers HTTP method semantics, idempotency keys, database upserts, and common pitfalls with working Node.js examples.
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.
Learn how to build, secure, and deploy custom Model Context Protocol servers for your organization's internal systems with TypeScript, including authentication, monitoring, and Kubernetes deployment.
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 comprehensive beginner's guide to OpenTelemetry covering traces, metrics, and logs with practical implementation examples, common pitfalls, and a detailed terminology glossary.
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.
How pnpm's catalog feature fundamentally solves dependency drift in JavaScript monorepos - with practical implementation patterns and proven strategies
Real-world lessons from leading Node.js to Go migrations in serverless environments, including performance gains, team challenges, and practical decision frameworks.
Production time management battles, migration strategies from Moment.js to modern alternatives, and UTC handling best practices. How to win the timezone wars.
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.
Building the redirect engine, analytics collection, and API Gateway configuration. Real performance optimizations and debugging strategies from handling millions of daily redirects.
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
Achieve sub-10ms response times in AWS Lambda through runtime selection, database optimization, bundle size reduction, and caching strategies. Real benchmarks and production lessons included.
Real-world CQRS implementation with AWS Lambda, EventBridge, and DynamoDB. Learn from my mistakes implementing event sourcing, handling eventual consistency, and debugging distributed systems in production.
After removing all factories, services, and dependency injection from our Node.js microservices, we shipped 3x faster with 65% fewer bugs. Here's why functions beat classes for event-driven architectures.
A practical guide to evolving Node.js monoliths into event-driven serverless functions, with real migration strategies, architectural patterns, and lessons from a complete transformation.
A comprehensive comparison of Node.js HTTP clients including performance benchmarks, circuit breaker patterns, and real production experiences