ReverseProxy is the Amazing Gem of the Go Std Lib
summary
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
chapters (8)
- 0:00Introduction
- 0:32Aggregator scaling strategy
- 14:17Service facade for debugging
- 17:37Migration and observability
- 21:12API adaptation and performance
- 25:24Robot gateway and mutation
- 28:21Testing strategies
- 30:10Conclusion and final thoughts
related talks
38mGo Module Proxy: Life of a Query
45mAbstracting Features Into Custom Reverse Proxies
31m"The Athens Project - A Proxy Server for Go Modules"
23mTalking to Go gRPC Services Via HTTP/1
29mThe rise of Layer 7, microservices, and the proxy war...
27mEnvoy Gateway: An in-Depth Guide of Its Benefits, Use Ca...
42mKilling the Reverse Proxy from the Inside: the Evolution of NGINX...
04mGo Remote Control
