JOURNAL / ENGINEERING FIELD NOTES

Ideas worth sharing.
Lessons from building.

Notes on software, architecture, and the details that make systems work. Written from experience, shared for the next build.

Page 3

Articles archive

Page 3 / 7
Feb 4, 2026 13 min read

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
Jan 28, 2026 12 min read

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
Jan 21, 2026 13 min read

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
Jan 14, 2026 14 min read

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
Jan 7, 2026 11 min read

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
Apr 28, 2025 18 min read

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
Apr 27, 2025 15 min read

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
Apr 26, 2025 13 min read

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
Apr 25, 2025 15 min read

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
Apr 24, 2025 13 min read

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