Tema: profiling
-
Perfilado continuo en producción: perfiles de muestreo siempre activos y qué preguntas responden
El perfilado continuo toma perfiles de CPU y memoria de manera sistemática a lo largo del tiempo y los almacena como series etiquetadas, de modo que un equipo puede preguntar qué función consumió más CPU en toda la flota ayer, o qué cambió entre dos versiones; los perfiladores por muestreo lo abaratan lo suficiente como para dejarlo siempre activo, y endpoints en tiempo de ejecución como /debug/pprof/ de Go, o agentes eBPF, son quienes suministran los perfiles.
-
Reading a flame graph: width is samples, the x-axis is not time
A flame graph stacks sampled call stacks so that frame width is the share of samples and height is stack depth; the x-axis is sorted alphabetically, not by time. Read wide plateaus at the top as on-CPU hot spots, wide frames with many thin children as callers to call less often, and remember that a CPU flame graph cannot show waiting.
Legible por máquina: JSON