Kicking off a new mini challenge: I am building a small-scale version of Uber’s API Gateway using Go - no ingress, no NGINX, just a Go router + middleware + service discovery.
The goal isn’t to replace Kubernetes, it’s to understand how much of a gateway I can build myself with full control over routing and behaviour.
Kubernetes Ingress works well for routing and that works great. But I wanted a setup that gives me:
• The flexibility to plug in custom middleware easily
• More direct control over request handling and routing behaviour.
What’s done so far (Ep1):
✅ Basic rate limiting via middleware (token-bucket style)
✅ Service discovery to list running services in my K8s cluster
✅ A simple Go + Chi router serving traffic
If you’re into distributed systems, or just watching me regret my own ambition follow this thread.
Episode 2 dropping soon.
Github: https://lnkd.in/gxR_JKds
Reference : https://lnkd.in/gg7CEaYn
Top comments (0)