Tag: architecture
All the articles with the tag "architecture".
-
Why an Innocent Logging Filter Crashed Our Spring WebClient: Streaming, Netty, and the 256 KB Trap
6 min readA production post-mortem on how a common HTTP logging filter caused 500 DataBufferLimitException crashes on large payloads in Spring WebClient, and the mechanics of TCP streaming, Netty ByteBufs, and wiretaps.
-
Apache Kafka on Kubernetes with Strimzi: A Complete Beginner-to-Pro Guide
6 min readA comprehensive, beginner-friendly guide to running Apache Kafka on Kubernetes using the Strimzi Operator—covering CRDs, architecture, network listeners, ACL security, and production best practices.
-
Demystifying the Kubernetes Operator Pattern: Custom Resources, Informers, and Reconcile Loops
6 min readA comprehensive technical study guide on the Kubernetes Operator Pattern—explaining CRDs, Level-Triggered Controllers, Informer Caches, Reconcile Loops, and Strimzi Kafka primitives.
-
How Kubernetes Probes Actually Work: My Takeaways and Mental Models
4 min readPersonal learnings and mental models on how the Kubelet executes Startup, Readiness, and Liveness probes—and how to avoid cascading outages in production.
-
Why Pgpool-II HA Mode Breaks Camunda 7 in Kubernetes: A Systems Post-Mortem
8 min readA deep-dive analysis of why deploying Pgpool-II in High Availability (Watchdog) mode via Helm charts triggers catastrophic transactional failures and split-brains in Camunda 7 workflow engines.
-
Deep Dive: PostgreSQL Connection Pooling & HikariCP Internals in Spring Boot
13 min readA highly technical masterclass exploring PostgreSQL's process-per-connection architecture, OS socket constraints, HikariCP's lock-free ConcurrentBag internals, and precision performance tuning for Spring Boot.
-
Database Multitenancy Design: Pooled vs. Siloed Architectures
6 min readA deep comparative study of SaaS database multitenancy patterns, detailing PostgreSQL Row-Level Security (RLS) policies and dynamic datasource routing in Spring Boot.
-
Deep Dive: Building a Distributed Message Broker from Scratch
4 min readDesigning and implementing a Mini-Kafka message broker from scratch in Java, covering sequential I/O storage, consumer offset tracking, partitioning strategies, and Raft consensus.