Skip to content

nodejs

19 posts

HMAC: What It Is, How It Works, and When It Is the Wrong Tool

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.

securitycryptographyhmac+5
Idempotency: A Beginner's Guide to Safe Retries in APIs

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.

idempotencyapi-designdistributed-systems+4
TypeScript AI SDK Comparison: Vercel AI SDK vs OpenAI Agents SDK for Agent Development

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.

typescriptai-toolsserverless+4
Building Custom MCP Servers: A Production-Ready Guide

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.

typescriptmcpnodejs+5
Type-Safe Lambda Middleware: Building Enterprise Patterns with Middy, Zod, and Builder Pattern

Learn to build maintainable, type-safe Lambda middleware using Middy's builder pattern, Zod validation, feature flags, and secrets management for enterprise serverless applications.

aws-lambdamiddymiddleware+8
OpenTelemetry Fundamentals: A Beginner's Guide to Modern Observability

A comprehensive beginner's guide to OpenTelemetry covering traces, metrics, and logs with practical implementation examples, common pitfalls, and a detailed terminology glossary.

opentelemetryobservabilitydistributed-tracing+5
CloudEvents SDK for TypeScript: Standardizing Events in Serverless Architectures

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.

typescriptserverlessaws-lambda+3
Solving Dependency Drift with pnpm Catalogs: A Production-Proven Monorepo Strategy

How pnpm's catalog feature fundamentally solves dependency drift in JavaScript monorepos - with practical implementation patterns and proven strategies

pnpmnodejsdependency-management+2
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
Node.js Time Management: Mastering Time Without Moment.js

Production time management battles, migration strategies from Moment.js to modern alternatives, and UTC handling best practices. How to win the timezone wars.

nodejsjavascripttime-management+7
AWS CDK Link Shortener Part 1: Project Setup & Basic Infrastructure2/2

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.

aws-cdklambdadynamodb+6
AWS CDK Link Shortener Part 2: Core Functionality & API Development1/2

Building the redirect engine, analytics collection, and API Gateway configuration. Real performance optimizations and debugging strategies from handling millions of daily redirects.

aws-cdklambdaapi-gateway+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
AWS Lambda Sub-10ms Optimization: A Complete Guide

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.

awslambdaperformance+7
CQRS with Serverless: How I Cut DynamoDB Costs by 70% and Improved Performance

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.

cqrsdynamodbevent-sourcing+3
Death of the Factory Pattern: How We Eliminated 40% of Our Node.js Code with Pure Functions

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.

event-drivenfunctional-programminglambda+3
From Monolith to Event-Driven Functions: A Node.js Architecture Evolution Guide

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.

event-drivenmonolithnodejs+1
Server-Side HTTP Clients: From Native Fetch to Effect, A Production Perspective

A comprehensive comparison of Node.js HTTP clients including performance benchmarks, circuit breaker patterns, and real production experiences

nodejshttp-clientsaxios+5