64 articles · updated regularly Blog · Field notes

Thoughts on code, shipped from the trenches.

Architecture lessons, performance war stories, and engineering patterns from two decades of building production systems.

Search the blog…

64

Articles

101

Topics

20+

Years XP

Page 3

Articles archive

Page 3 / 7
13m Feb 4, 2026

CQRS and Event Sourcing: The Real Trade-offs

When CQRS pays off, when Event Sourcing makes it worse, and when plain CRUD is the right call. With TypeScript examples and the anti-patterns to avoid.

ArchitectureCQRSEvent Sourcing
Read
12m Jan 28, 2026

Backpressure and Flow Control in Async Systems

When a producer outpaces its consumer — Node streams, Go channels, Rust async, RxJS, and Kafka consumer lag. The patterns that actually keep memory in check.

PerformanceBackendNode.js
Read
13m Jan 21, 2026

The Strangler Fig Pattern: Migrating a Legacy Monolith Without the Big-Bang Rewrite

A realistic playbook for replacing a legacy system in place — routing, dual-write, shared data, team slicing, and the order of operations that actually ships.

ArchitectureLegacyMigration
Read
14m Jan 14, 2026

PostgreSQL Internals: MVCC, VACUUM, and HOT Updates

How Postgres actually stores rows — tuples, xmin/xmax, HOT updates, table bloat, and why VACUUM is the most misunderstood command in your database.

PostgreSQLDatabasePerformance
Read
11m Jan 7, 2026

Code Review and Commit Hygiene That Actually Helps

Conventional Commits, small PRs, review culture, and the PR templates people actually fill out — how to review code so the next developer (including future-you) can still move fast.

EngineeringGitCode Review
Read
18m Apr 28, 2025

Designing RESTful API Endpoints: Best Practices for HTTP Methods and URL Structure

A comprehensive guide to RESTful API endpoint design — covering HTTP methods (GET, POST, PUT, PATCH, DELETE), URL structure, status codes, pagination patterns, error handling with RFC 7807, and real-world implementations in TypeScript, Java, Python, and C#.

APIBackendArchitecture
Read
15m Apr 27, 2025

Database Diagrams: A Practical Guide to Schema Design and Documentation

A comprehensive guide to database diagrams — covering ERD notations (Chen, Crow's Foot, UML), drawing with Mermaid and PlantUML, real-world schema examples, and best practices for documenting database designs.

DatabaseArchitecturePostgreSQL
Read
13m Apr 26, 2025

JWT for Service-to-Service Authentication : Server-to-Server Authentication in Microservices

A comprehensive implementation guide to JWT for service-to-service authentication — covering signed JWTs between services, asymmetric keys (RS256/ES256) for distributed verification, token propagation patterns, and Node.js implementation.

AuthenticationSecurityMicroservices
Read
15m Apr 25, 2025

Service Mesh Identity (SPIFFE/SPIRE) : Server-to-Server Authentication in Microservices

A comprehensive guide to SPIFFE/SPIRE for workload identity in microservices — covering SPIFFE ID format, SVIDs, SPIRE architecture and components, Istio/Envoy integration, and zero-trust networking patterns.

AuthenticationSecurityMicroservices
Read
13m Apr 24, 2025

OAuth 2.0 Client Credentials Grant : Server-to-Server Authentication in Microservices

A comprehensive implementation guide to OAuth 2.0 Client Credentials Grant for machine-to-machine authentication — covering the client credentials flow, token caching and refresh, scope and audience validation, and Node.js implementation with multiple identity providers.

AuthenticationSecurityMicroservices
Read