Multi-Tenant API Gateway & Rate-Limiter

Multi-Tenant API Gateway & Rate-Limiter

Project Overview:

A high-performance, edge-layer API Gateway and reverse proxy built in Go. Designed to sit in front of backend microservices, the system handles dynamic HTTP request routing, distributed rate-limiting, tenant configuration management, and system observability.

Key Features & Highlights: (Planned)

- L7 Reverse Proxy: Intercepts, parses, and dynamically routes incoming HTTP traffic to downstream target services using Go's net/http/httputil.

- Distributed Rate Limiting: Enforces key-based traffic throttling using Redis to prevent service abuse and handle burst traffic (HTTP 429 Too Many Requests).

- Multi-Tenant Configuration: Supports tier-based rate limits (e.g., Free vs. Pro tiers) and API key management backed by PostgreSQL using type-safe queries via sqlc.

- Cache-Aside Architecture: Leverages Redis in-memory caching for tenant data to ensure near-zero database lookup overhead on active request paths.

- Production Observability: Instrumented with Prometheus metrics and Grafana dashboards to track request throughput, latency distribution, and rate-limit breach events in real time.

Technolgies Used: Go, Redis, PostgreSQL, Docker, Prometheus, Grafana