[go-nuts] TCP client with reconnecting and errors catch

2020-11-03 Thread JuanPablo AJ
Until now, I have found some examples related to creating a simple TCP client, like these: http://www.inanzzz.com/index.php/post/j3n1/creating-a-concurrent-tcp-client-and-server-example-with-golang https://www.linode.com/docs/guides/developing-udp-and-tcp-clients-and-servers-in-go/ Those articl

Re: [go-nuts] Does concurrency have some effect over HTTP client?

2020-10-26 Thread JuanPablo AJ
ds. On Sunday, October 25, 2020 at 8:07:58 AM UTC-3 jesper.lou...@gmail.com wrote: > On Sat, Oct 24, 2020 at 7:30 PM JuanPablo AJ wrote: > > >> I have some doubts related to the HTTP client. >> > > First, if you have unexplained efficiency concerns in a program,

[go-nuts] Does concurrency have some effect over HTTP client?

2020-10-24 Thread JuanPablo AJ
Hi, I have some doubts related to the HTTP client. I have an HTTP service that in the handler calls synchronously to another HTTP service (serviceA). (I will call it case 1). func withoutGoroutine(w http.ResponseWriter, r *http.Request) { httpGetA() _, err := w.Write([]byte(``)) if err