Part 5: Observability in Memory – When Everything Shares a Single Call Stack

Part 5: Observability in Memory – When Everything Shares a Single Call Stack When it comes to operating a production system, Observability is the line between fixing an issue in 10 minutes and staying up all night searching for the root cause. Microservices architecture has made Observability extremely expensive and complex with the advent of Distributed Tracing. Conversely, the Modular Monolith brings debugging back to its most fundamental roots: Monitoring the entire system through a single Call Stack in memory. This simplicity brings overwhelming technical advantages. ...

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

Go pprof in Kubernetes: CPU & Memory Profiling

Answer-first: Go pprof is the standard library profiling tool for diagnosing CPU usage, memory allocation, and goroutine leaks in production Go services, with safe exposure via internal HTTP endpoints and minimal performance overhead when configured correctly. What You’ll Learn That AI Won’t Tell You Reading memory profiles to identify slow allocations in performance hot paths. Analyzing flame graphs to detect lock contention on global mutexes. 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 · 11 min · Lê Tuấn Anh