© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. AlmogPractical Debugging at Scalehttps://doi.org/10.1007/978-1-4842-9042-2_12

12. Performance and Memory

Shai Almog1  
(1)
Tel Aviv, Israel
 

One accurate measurement is worth a thousand expert opinions.

—Admiral Grace Murray Hopper

In their groundbreaking book Refactoring,1 Fowler and Beck tell a story of a slow performing system. All the experts gathered around to give their expert opinions on “what might be the cause.” Profiling pointed at something that none of them suspected in the least. This is a familiar problem; we have preconceptions. Tooling doesn’t. The reason for performance and memory problems often differs from our preconceived notions.

Profilers ...

Get Practical Debugging at Scale: Cloud Native Debugging in Kubernetes and Production now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.