~/talk

"Rush Tactics: Writing Go Code You Won’t Regret Later"

Talkat GothamGo 2023 · on Friday, 2023-06-09· [go, observability]
slides:none on file

Shows concrete tactics: avoid importing big SDK interfaces by defining a tiny local interface (example PutItemWithContext for DynamoDB), use context propagation to cancel wasted work, and make remote calls resilient with rate limiting via golang.org/x/time/rate and simple exponential backoff. Demonstrates bounding concurrency (worker pools, semaphores, WaitGroup) after firing off thousands of goroutines that triggered 429s, and adds OpenTelemetry traces and metrics for observability.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Story Time
  3. 4:17Implement Only What You Need
  4. 4:51Avoid ThirdParty Interfaces
  5. 13:03Summary
  6. 21:00Throttle Aggressive Clients
  7. 27:38Back Off Strategy
  8. 31:37Bonus
  9. 34:10Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.