diff options
Diffstat (limited to 'content/context.article')
-rw-r--r-- | content/context.article | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/context.article b/content/context.article index 47c320d..1d888f9 100644 --- a/content/context.article +++ b/content/context.article @@ -1,7 +1,7 @@ # Go Concurrency Patterns: Context 29 Jul 2014 Tags: concurrency, cancelation, cancellation, context -Summary: In Go servers, each incoming request is handled in its own goroutine. Request handlers often start additional goroutines to access backends such as databases and RPC services. The set of goroutines working on a request typically needs access to request-specific values such as the identity of the end user, authorization tokens, and the request's deadline. When a request is canceled or times out, all the goroutines working on that request should exit quickly so the system can reclaim any resources they are using. +Summary: An introduction to the Go context package. Sameer Ajmani |