How an API gateway routes, authenticates, and rate-limits client requests to backend services
What it does
Single Entry Point
- Auth before any service sees the request
- Rate limiting protects all services
- One URL for all clients
Key Benefits
Cross-Cutting Concerns
- No auth logic in each service
- Centralized logging + tracing
- Cache at gateway layer
Trade-offs
Single Point of Failure
- Must be highly available
- Can become bottleneck
- Adds ~1–5ms latency