I'm kind of new to the pprof
tool, and am wondering if its ok to keep running this in production. From the articles I have seen, it seems to be ok and standard, however I'm confused as to how this does not affect performance since it does a sampling N
times every second and how come this does not lead to a degradation in performance.
is it ok to use golang pprof on production without effecting performance?
7.3k Views Asked by pandith padaya At
1
Jaana Dogan does say in her article "Continuous Profiling of Go programs"
So if you are using
pprof
for the right reason, yes, you can leave it in production.But for basic monitoring, as commented, the system is enough.
As noted in "Continuous Profiling and Go" by Vladimir Varankin
So the overhead is not the only criteria to consider when leaving active such a feature.