Modular Monolith Observability: Logging & Profiling

Answer-first: Observability in modular monoliths leverages in-process OpenTelemetry span propagation across module boundaries without network serialization overhead. Combining in-memory context tracking with structured logging reduces telemetry ingestion costs while retaining microservice-level latency visibility. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and automated observability pipelines required for production-grade enterprise operations. Prerequisite: Before reading this part, please review Part 4: CI/CD Simplified. Part 5: Observability in Memory – When Everything Shares a Single Call Stack What You’ll Learn: ...

July 3, 2026 · 9 min · Lê Tuấn Anh

Go pprof CPU & Memory Profiling: Production Tutorial

Go pprof CPU & Memory Profiling: Production Tutorial Answer-first: Go pprof CPU and memory profiling identifies heap memory leaks, unnecessary allocations, lock contention, and CPU hot spots to optimize production application throughput. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. Prerequisite: This guide covers how to profile and diagnose complex performance issues in production. If you are specifically dealing with unbounded goroutine growth, ensure you first understand the foundational concepts in Goroutine Leak Detection and Fix in Production Go Services. ...

June 2, 2026 · 10 min · Lê Tuấn Anh