Profiling a Slow Endpoint: Flame Graph to Fix, On-CPU vs Off-CPU
Learn to diagnose a slow monolith endpoint: scope the problem, use APM traces, pick on-CPU or wall-clock profiling, read flame graphs, and fix N+1 queries.
16 min read
Tag
Learn to diagnose a slow monolith endpoint: scope the problem, use APM traces, pick on-CPU or wall-clock profiling, read flame graphs, and fix N+1 queries.
16 min read
Learn to baseline, trace and profile a slow monolith, fix N+1 queries and database hot paths, and choose a caching strategy before considering a rewrite.
18 min read
How the Node.js event loop and libuv threadpool work, how blocking shows up as p99 latency, how to measure it, and when to use workers or processes.
13 min read