Problem
Existing API gateways were either too heavyweight or lacked the specific features needed for our microservices.
Solution
Built a lightweight gateway in Go that handles 10k+ requests per second with sub-millisecond latency.
Architecture
- Routing: Path-based and header-based routing
- Rate Limiting: Token bucket with Redis backend
- Auth: JWT validation and API key support