01.1
Problem
Rate limits have to hold across replicas rather than per instance, and the gateway needs to shed load before one slow dependency takes the service down with it.
Built
Atomic Redis Lua scripts implementing token-bucket, sliding-window and fixed-window limiters that stay correct across replicas. An adaptive circuit breaker, a live WebSocket dashboard for gateway state, and Prometheus + Grafana instrumentation. Load-tested with Artillery.