Go: Goroutine Leak Detector

The translation of the article was prepared in anticipation of the start of the "Golang Developer. Professional" course .





We also invite everyone to the "Blockchain on Go" demo lesson . In this webinar, we will create a blockchain-based lightweight cryptocurrency.






APM, . NewRelic โ€” , :





Source: https://docs.newrelic.com/docs/agents/go-agent/features/go-runtime-page-troubleshoot-performance-problems
: https://docs.newrelic.com/docs/agents/go-agent/features/go-runtime-page-troubleshoot-performance-problems

, . .





Go Uber, Github, (goroutine leak detector) โ€” , . . :





:





:





, :





  • c . , .





  • , . , go test ./... -trace trace.out



    :





.





, , . , , .





, โ€” , . , , , .





. :





runtime. Stack Go. , , . .





, , , :





  • , โ€” (#1) .





  • , , , . , ยซGo: gsignal, Master of Signalsยป.





  • โ€” (#18) .





, , , , . , :





  • , , , .





  • , , . , .





, , , .





, net/http . :





afterTest



, .






"Golang Developer. Professional".





"Blockchain Go".








All Articles