Typically, a network communication system, like gRPC for example, will
accept contexts for network calls and turn context done-ness into an error.
The typical signature of an RPC-backed function is
func(context.Context, req *Request) (*Response, error)
If the context times out or is cancell
Thanks Ian, it's nice to know that we're using Go correctly.
I agree that more code doesn't really matter, and I think I'd be completely
fine with this situation had there been a vet check that ensured that no
selects are forgotten.
Let's see if generics change something in this area.
On Monday
On Mon, Jun 8, 2020 at 9:59 AM Yegor Roganov wrote:
>
> My team is developing a cloud-based data processing application, and a large
> bulk of the application's job is doing network calls to other services.
> Go's goroutines and channel-based communication are an excellent fit, but in
> order fo
Hello,
My team is developing a cloud-based data processing application, and a
large bulk of the application's job is doing network calls to other
services.
Go's goroutines and channel-based communication are an excellent fit, but
in order for the application to be able to properly shut down,
si