Hacker News new | ask | show | jobs
by camel_gopher 970 days ago
That’s a very big assumption, at least for Go based applications.
2 comments

I don't think it's unreasonable, you need a Context to make a gRPC call and you get one when handling a gRPC call. It usually doesn't get lost in between.
True for gRPC, but not necessarily for HTTP - the HTTP client and server packages that ship with Go predate the Context package by quite a long while.
We also thinking on implementing fallback mechanism to automatically propagate context on the same goroutine if context.Context is not passed