ROMHARSHAN TECHNICAL JOURNAL

Architecture, AI, cloud and engineering—explained from production experience.

Long-form technical articles, system design guidance, code examples and architecture decisions for engineers building real systems.

LATEST

Latest articles — Page 5

Original technical writing designed around practical implementation, architecture trade-offs and production lessons.

Showing 49–60 of 77 published articles12 articles per page
Distributed Systems

Database-per-Service Pattern and Data Ownership in Microservices

How I separate data ownership across microservices without forcing one physical database server per service, and how I handle reporting, read projections and migration from shared schemas.

1 Sept 2026 · 8 views
Distributed Systems

Kafka Retry Topics and Dead Letter Queue Patterns in Production

How I separate transient Kafka consumer failures from poison messages using delayed retry topics, bounded attempts, DLQ metadata, operational ownership and safe replay.

1 Sept 2026 · 1 views
Distributed Systems

Adapter and Anti-Corruption Layer Patterns for External Supplier Integrations

How I isolate airline, hotel, payment and legacy-system differences behind adapters and anti-corruption layers so external provider models do not leak into core business logic.

1 Sept 2026 · 1 views
Distributed Systems

Strangler Pattern: How I Modernize Monoliths Without a Big-Bang Rewrite

How I use Strangler-style migration to move legacy project/tender information systems toward services incrementally, with routing, data ownership, anti-corruption layers and rollback.

1 Sept 2026 · 1 views
Distributed Systems

Bulkhead Pattern: Isolating Supplier, Payment and Database Failures

How I use bulkhead/concurrency isolation so one slow travel supplier, payment provider or database path cannot consume all threads, sockets or worker capacity.

1 Sept 2026 · 1 views
Distributed Systems

Backpressure in Kafka and NestJS: Protecting Slow Databases and APIs

How I handle Kafka backpressure when consumers can read faster than PostgreSQL, MongoDB or downstream APIs can write, using bounded concurrency, pause/resume, batching and lag recovery.

1 Sept 2026 · 2 views
Distributed Systems

Retry Pattern in Microservices: Exponential Backoff, Jitter and Retry Budgets

How I design safe retry policies for supplier APIs, payments and microservices using transient-error classification, deadlines, exponential backoff, jitter, idempotency and retry ownership.

1 Sept 2026 · 1 views
Distributed Systems

Circuit Breaker in Node.js and NestJS with Opossum, Fallback and Concurrency Control

How I implement circuit-breaker behavior in Node.js/NestJS using Opossum-style policies, including timeouts, singleton breaker state, fallback, metrics and bounded concurrency.

1 Sept 2026 · 1 views
Distributed Systems

Circuit Breaker with Resilience4j in Spring Boot: Timeout, Retry, Fallback and Metrics

Production Resilience4j circuit-breaker configuration for Spring Boot, including timeout, retry ordering, slow-call thresholds, fallbacks, metrics and failure classification.

1 Sept 2026 · 2 views
Distributed Systems

CQRS in Real Systems: Separating Commands and Queries Without Overengineering

How I use CQRS concepts when transactional commands and read-heavy search/dashboard workloads require different models, without automatically introducing unnecessary databases or event infrastructure.

1 Sept 2026 · 1 views
Distributed Systems

Transactional Outbox Pattern with MySQL, PostgreSQL and Kafka

How I use the Transactional Outbox pattern to avoid database/Kafka dual-write failures, including polling publishers, SKIP LOCKED, duplicate publication, idempotent consumers and backlog monitoring.

1 Sept 2026 · 1 views
Distributed Systems

Idempotency in Payments, Bookings, Bids and Event Consumers

Production idempotency design for repeated payment, booking, bid, webhook and Kafka operations, including request fingerprints, unique constraints, concurrent duplicates and retention.

1 Sept 2026 · 1 views