Skip to content

nodejs

24 posts

nodejs
Thinking in Events: A Beginner's Guide to Commands vs Events

Learn the mental shift behind event-driven systems: announce facts instead of issuing commands. Covers naming, decoupling, eventual consistency, and idempotency.

event-driven · messaging · idempotency +2

Nub vs Vite+: Two Rust Toolchains for Opposite Ends of the JS Stack

Nub and Vite+ are both 2026 oxc-powered Rust toolchains that look like rivals but are not. A clear rule for which binary belongs in which repo.

javascript · typescript · vite +3

Hexagonal Architecture for a Presentation Service vs BFF

A presentation service is the thin backend behind a UI fragment. Ports-and-adapters keeps it from rotting into glue code by pointing dependencies inward.

architecture · nodejs · typescript +3

Server-Side Micro-Frontend Composition: One Page, Many Teams

Server-side micro-frontend composition lets independent teams own fragments of one page. The hard part is the ownership boundary and the versioned consistency contract.

build-tools · architecture · nextjs +2

Zod Branded Types for PII Protection: Compile-Time Log Safety

Bake a single PII branded type into your observability API signatures so TypeScript rejects sensitive fields at the call site, before any runtime redactor sees them.

typescript · zod · observability +3

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

HMAC-SHA-256 for webhooks, signed URLs, and internal auth, with runnable code in three languages and the boundary where digital signatures take over.

security · encryption · webhooks +4

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

A practical introduction to idempotency for developers building APIs, payments, and message consumers, covering HTTP semantics, idempotency keys, and upserts.

idempotency · api-design · distributed-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 agents: Vercel AI SDK, OpenAI Agents SDK, and AWS Bedrock, with code examples and decision frameworks.

typescript · ai-tools · serverless +4

Building Custom MCP Servers: A Production-Ready Guide

Build, secure, and deploy custom Model Context Protocol servers for internal systems in TypeScript, with authentication, monitoring, and Kubernetes deployment.

typescript · mcp · nodejs +5

Middy and Zod: Type-Safe AWS Lambda Middleware Validation

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

lambda · middleware · typescript +7

OpenTelemetry Fundamentals: A Beginner's Guide to Modern Observability

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

opentelemetry · observability · monitoring +4

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.

typescript · serverless · lambda +2

pnpm Catalogs: Fix Dependency Drift in Monorepos

How pnpm catalogs stop dependency drift in JavaScript monorepos: one place to declare shared versions, named catalogs for legacy packages, and CI enforcement.

build-tools · nodejs · performance

Migrating from Node.js to Go on AWS Lambda: A Practical Guide

When a Node.js to Go move on AWS Lambda pays for itself and when it does not: the decision framework, the serverless Go patterns, and the cost math behind the call.

go · nodejs · serverless +5

Moment.js Alternatives for Node.js: Migration Guide and Comparison

Why time bugs hide in production, how to migrate from Moment.js to Day.js or date-fns, and how to keep UTC everywhere with conversion only at the display boundary.

nodejs · javascript · productivity +3

AWS CDK Link Shortener Part 1: Project Setup & Basic Infrastructure2/2

Set up a production-grade link shortener with AWS CDK, DynamoDB, and Lambda: architecture decisions, project layout, and the schema choices that hold up at scale.

aws-cdk · lambda · dynamodb +5

AWS CDK Link Shortener Part 2: Core Functionality & API Development1/2

Build the redirect engine, analytics collection, and API Gateway config: performance optimizations and debugging strategies for millions of daily redirects.

aws-cdk · lambda · api-gateway +5

Middy Alternatives: Building a Custom AWS Lambda Middleware Framework2/2

When a Lambda fleet outgrows Middy's static middleware model, how a project-specific engine handles per-request config, and what owning one costs

lambda · middleware · performance +6

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

lambda · middleware · serverless +5

AWS Lambda Performance Optimization: Sub-10ms Latency

Hold AWS Lambda warm-path latency inside a 10 ms budget with runtime choice, connection reuse, bundle discipline, caching, and memory tuning.

aws · lambda · performance +4

CQRS with AWS Lambda, EventBridge, and DynamoDB

A practical CQRS implementation with AWS Lambda, EventBridge, and DynamoDB, covering event sourcing, eventual consistency, and distributed debugging.

architecture · dynamodb · event-driven +3

Replacing Factories and DI in Node.js with Pure Functions

Factories, service layers, and DI containers rarely earn their keep in a Lambda-shaped Node.js service. What replaces them, and where classes still win.

event-driven · functional-programming · lambda +3

Monolith to Microservices in Node.js: A Migration Guide

A practical guide to evolving Node.js monoliths into event-driven serverless functions, with migration strategies and proven architectural patterns.

event-driven · architecture · nodejs +1

Axios vs Fetch vs Undici: Node.js HTTP Clients Compared

Why undici is the sensible default for Node.js server-to-server calls, and when Axios, native fetch, or Effect is the better pick

nodejs · http · functional-programming +3