Re: [go-nuts] Goroutine scheduled 10 seconds too late

2019-08-22 Thread Ian Lance Taylor
On Thu, Aug 22, 2019 at 5:09 PM wrote: > > I have a fairly complex program that has about 150 goroutines servicing > requests. Some requests go out to cgo, which does some network IO. There is > one goroutine that is responsible for a heartbeat (etcd keepalive) and > sometimes (~every two weeks

Re: [go-nuts] sync.Mutex encounter large performance drop when goroutine contention more than 3400

2019-08-22 Thread robert engels
As I expected, the test is not testing what you think it is. Many of the Go routines created do not perform the same number of iterations. The benchmark harness is only designed to try and perform enough iterations to get a time per op while “running N routines”. You need to rework the test so

[go-nuts] Goroutine scheduled 10 seconds too late

2019-08-22 Thread michael
I have a fairly complex program that has about 150 goroutines servicing requests. Some requests go out to cgo, which does some network IO. There is one goroutine that is responsible for a heartbeat (etcd keepalive) and sometimes (~every two weeks) this goroutine doesn't get scheduled for long p

Re: [go-nuts] Helm (Go Templates) Selective Rendering

2019-08-22 Thread burak serdar
On Thu, Aug 22, 2019 at 12:18 PM Shishir Jakati wrote: > > Hey, > > I was wondering if anyone had worked on getting a template to render while > specifying values to not render. > > For example, if I have a template: > > name:{{template "memcached.fullname" }} > chart{{.Values.some.value }} > > I

[go-nuts] Helm (Go Templates) Selective Rendering

2019-08-22 Thread Shishir Jakati
Hey, I was wondering if anyone had worked on getting a template to render while specifying values to not render. For example, if I have a template: name:{{template "memcached.fullname" }} chart{{.Values.some.value }} Is there a way to flag the chart field so that it does not actually execute

Re: [go-nuts] Get tmp stuff in $GOTMPDIR instead of /tmp?

2019-08-22 Thread Wagner Riffel
On Thu, Aug 22, 2019 at 12:33 PM Wagner Riffel wrote: > go build uses GOCACHE, not GOTMPDIR. See go help environment. Sorry, i was wrong, those are supposed to be temporary files, and they are going correctly to GOTMPDIR for me, not sure what your problem is. - wgr -- You received this message

Re: [go-nuts] Get tmp stuff in $GOTMPDIR instead of /tmp?

2019-08-22 Thread Wagner Riffel
On Thu, Aug 22, 2019 at 11:54 AM wrote: > > Am I using things wrong? go build uses GOCACHE, not GOTMPDIR. See go help environment. - wgr -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails f

Re: [go-nuts] Re: Golang project ideas

2019-08-22 Thread satyendra singh
Hi Miki, I am also new to go working from about 16 weeks. I would like to help on your project On Thu, 22 Aug 2019 at 14:03, Miki Tebeka wrote: > If you're interested. I'm looking for help in > https://github.com/tebeka/go2xunit/ and willing to mentor. Doing a big > refactoring there so it's a g

[go-nuts] Get tmp stuff in $GOTMPDIR instead of /tmp?

2019-08-22 Thread per9000
I get a bloated /tmp-dir (in just a few days I get tens of thousands of folders named /tmp/go-build828718408 etc.) so I tried to set $GOTMPDIR, but nothing ends up there. (From what I understand of the documentation the purpose of GOTMPDIR is to move tmp stuff, see e.g. line 1471 of https://gol

[go-nuts] Re: Golang project ideas

2019-08-22 Thread Miki Tebeka
If you're interested. I'm looking for help in https://github.com/tebeka/go2xunit/ and willing to mentor. Doing a big refactoring there so it's a good opportunity. On Friday, August 16, 2019 at 3:24:28 AM UTC+3, kife...@gmail.com wrote: > > I'm new to go, been working with go for about ten weeks.