Go pprof in Kubernetes: Remote CPU & Memory Profiling Without Restarting Pods

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. Performance degradation in production is inevitable. When a Go microservice suddenly spikes to 90% CPU utilization or triggers an Out-Of-Memory (OOM) kill in Kubernetes, guessing the root cause by staring at the code is rarely effective. You need data. ...

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

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. ...

4 min · Lê Tuấn Anh