Re: [go-nuts] Create a 1GB ballast but it takes up RSS and pages are Dirty?

2022-11-16 Thread 'Michael Knyszek' via golang-nuts
On Wed, Nov 16, 2022 at 10:19 AM Jie Zhang wrote: > Actually, we used go1.16.5 before go1.19 released. Now we're consider > using go1.19 GOMEMLIMIT instead. > > But GOMEMLIMIT is a soft limit, if you deploy multiple services in the > same host (not per container per service), there will be proble

Re: [go-nuts] Create a 1GB ballast but it takes up RSS and pages are Dirty?

2022-11-16 Thread Jie Zhang
Actually, we used go1.16.5 before go1.19 released. Now we're consider using go1.19 GOMEMLIMIT instead. But GOMEMLIMIT is a soft limit, if you deploy multiple services in the same host (not per container per service), there will be problems. The GC is delayed, and if combined with GOGC=off, the m

[go-nuts] Correct way of calculating total coverage using coverpkg.

2022-11-16 Thread 'Nicklas Wallgren' via golang-nuts
I'm trying to calculate the total coverage for one of my repositories https://github.com/NicklasWallgren/go-template using go test ./... -p 1 -coverprofile=build/coverage.out -coverpkg ./... The coverage.out is successfully generated, but the report contains reoccurring rows and is quite large

[go-nuts] Retrieve Path Parameters using inbuild http/Net package

2022-11-16 Thread Gladiators Squad
Hello Everyone, I'm developing a http server using inbuilt http/net package in golang. Is there any way to get the path parameters from end points without using any external third-party web framework? Thanks. -- You received this message because you are subscribed to the Google Groups "golang