Go: Détecteur de fuites Goroutine

La traduction de l'article a été préparée en prévision du début du cours "Golang Developer. Professional" .





Nous invitons également tout le monde à la leçon de démonstration "Blockchain on Go". Dans ce webinaire, nous allons créer une crypto-monnaie légère basée sur la blockchain.






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