More File-IO, more GOMAXPROCS.
On Mon, Sep 4, 2017 at 3:44 AM, rlh via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> Without building and measuring it is impossible to know which of these
> approaches, or even a third one where you simply run a single instance, is
> best for your
when have one or two cpu busy goroutine in my server (example for loop
empty), the gc stop the world how to stop the goroutine ?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it,
On Sun, Sep 3, 2017 at 6:05 PM, Seth Bunce wrote:
> https://play.golang.org/p/-FM2wC22A0
>
Thanks a lot Seth!
FTR, I archived it in my personal treasure chest at
https://github.com/suntong/lang/blob/master/lang/Go/src/text/CamelCaseSplit.go
with a little bit enhancement.
--
You received this
Hi,
I've bumped into another "same code different result" problem -- my `go
test` runs fine locally but on Travis,
https://travis-ci.org/go-dedup/fsimilar/builds/271540570
it is broken.
I've verified at least four or five times that *all* my local code have
been pushed to github. Now I've
https://play.golang.org/p/-FM2wC22A0
My inclination would be to go for an approach like this. Then make a
table-driven unit test and throw everything you can think of at it and
iterate until you get what you need.
On Sun, Sep 3, 2017 at 2:23 PM, Tong Sun wrote:
> Hi,
>
>
Hello,
I am looking for the 'best' way to launch and monitor several go processes.
Doing it with just 1 is easy enough, using monit or systemctl should do the
trick, however since our app takes a while to start, we want to keep a few
proceses running at all times so we don't have downtime
Without building and measuring it is impossible to know which of these
approaches, or even a third one where you simply run a single instance, is
best for your application.
Each approach has upsides and downsides. The GC believes GOMAXPROCS and
will uses as much CPU as it believes is
Hi,
Assume I have a plugin:
package main
func Add(x, y int) int {
return x + y
}
func main() {}
I'd like to make sure that plugin functions are from certain type. So I
wrote (ignore panics, they are for brevity):
Enter code here...package main
import (
"fmt"
"plugin"
)
type MathFunc
Hi,
has someone successfully used visual studio team services in a go project
with support of the go tooling (go get, glide-dep etc)?
thanks
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving