~/talk

ReverseProxy is the Amazing Gem of the Go Std Lib

Talkat GopherConAU 2024 · 2024-11-06..11-08· [go, web-platform]
links:none on file
slides:none on file

Go's httputil.ReverseProxy is used to build a lightweight routing layer called Nomad that sits on aggregator hosts, uses an HTTP header with service ID to pick shards behind a feature flag, and enables rollouts pushed to the fleet in under a second so cross-aggregator windows shrink to 10–20 seconds. It also proxies traffic to a laptop for live debugging, compresses vendor payloads to 94% smaller with zlib, and tests via http/httptest and NewSingleHostReverseProxy.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32Aggregator scaling strategy
  3. 14:17Service facade for debugging
  4. 17:37Migration and observability
  5. 21:12API adaptation and performance
  6. 25:24Robot gateway and mutation
  7. 28:21Testing strategies
  8. 30:10Conclusion and final thoughts
~/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.