Re: [go-nuts] Multiple processes in parallel for cgo service

2019-12-07 Thread Jake Montgomery
Nitish, I don't think you really explained the problem you are having. There is nothing in go that prevents you from running multiple instances of an executable, hence creating multiple processes running the same program. You can simply open two console windows and start the same long

Re: [go-nuts] Multiple processes in parallel for cgo service

2019-12-07 Thread Nitish Saboo
Hi Brian, I understand by running the service as containers is one route through which we can achieve this. My query is if I want to avoid that route , is there a way to achieve this using Go code to define multiple instance and run them independently? Thanks, Nitish On Sat, Dec 7, 2019 at 1:52

Re: [go-nuts] Multiple processes in parallel for cgo service

2019-12-06 Thread Brian Candler
Can you just run multiple instances of your program, each independently fetching messages from SQS? -- 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, send an email to

Re: [go-nuts] Multiple processes in parallel for cgo service

2019-12-06 Thread Nitish Saboo
Hi Ian, The Go code fetches a message from SQS and calls the C code to parse the log messages.So this is what the cgo service does. I would like to run the same service on different processes independently. I am not sure how to achieve this in Go. Can you please guide me here. Thanks, Nitish On

Re: [go-nuts] Multiple processes in parallel for cgo service

2019-12-05 Thread Ian Lance Taylor
On Thu, Dec 5, 2019 at 2:41 AM Nitish Saboo wrote: > > I am having a cgo(go + c) service.Is it possible to run multiple processes of > the same service in parallel ? Well, it depends on what the service does. But there is nothing in the Go tools or standard library that prevents you from doing

[go-nuts] Multiple processes in parallel for cgo service

2019-12-05 Thread Nitish Saboo
Hi, I am having a cgo(go + c) service.Is it possible to run multiple processes of the same service in parallel ? Thanks, Nitish -- 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,