mediumStudy question · answer published in System Design interview questions, so no pointsgotimeouts
Timeouts in Go clients
In a Go service, what is the idiomatic way to stop an outbound HTTP call from waiting longer than 2 seconds and to cancel it if the incoming request is cancelled?
Discussion 0
Join free to post in the discussion.
Related questions
- Wasted work after timeoutsSite Reliability Engineer
- Go service OOMKilled under loadSite Reliability Engineer
- Calls with no timeoutBackend Developer
- Connect timeout versus read timeoutBackend Developer
- Iteration order of a Go mapBackend Developer
- Timeouts that exceed the budgetBackend Developer
- Will the retries fit in timeBackend Developer
- Requests hang waiting for a connectionBackend Developer