[go-nuts] Using Context to store TraceIDs

2017-05-30 Thread William Kennedy
I read this post by Jaana https://docs.google.com/document/d/1GFHAksL5HQy1YacCFXMUdOTC4e21uoX-TbMzRXAtx_I/preview I wanted to start a conversation about the Context value bag and TraceIDs. I am concerned with the idea of using the Context to pass TraceIDs into the API of packages that don't

[go-nuts] Re: Getting a snapshot of point-in-time allocation

2016-09-30 Thread William Kennedy
I have an example in the training of taking two profiles and using this option to compare them. I would love any feedback you have on the content in this topic or what you think might be missing. Thanks https://github.com/ardanlabs/gotraining/tree/master/topics/profiling -- You received this

[go-nuts] Just because we can add multiple logical processors for the scheduler to use doesn’t mean we should

2016-09-23 Thread William Kennedy
There are many factors that will determine how well your program performs. There are no guarantees that using more threads or goroutines is going to yield better performance. Sometimes throwing more threads or goroutines at a problem can slow things down. It really depends on the work you are