March 2020
Intermediate to advanced
406 pages
8h 39m
English
Go's concurrency model uses goroutines, and is very powerful. One of the drawbacks of having high concurrency is that you will experience difficulty when you attempt to debug that high-concurrency model. To avoid this difficulty, the language creators created go tool trace. They then distributed this in Go version 1.5 in order to be able to investigate and resolve concurrency issues. The Go tracing tool hooks into the goroutine scheduler so that it can produce meaningful information about goroutines. Some of the implementation details that you may want to investigate with Go tracing include the following:
Read now
Unlock full access