Tagged “Api-Gateway”
2 articles with this tag.
- API gatewayThe API gateway pattern and Spring Cloud Gateway: responsibilities (routing, authentication, rate limiting, resilience, observability), the gateway in a Spring Cloud platform, routes, predicates and filters, the reactive (WebFlux) and Server Web MVC variants, token relay and the BFF pattern, rate limiting with Redis, circuit breakers and retries, and gateway anti-patterns.
- Rate LimiterA distributed rate limiter designed with the 18-step framework: where to place it, token bucket, leaky bucket, fixed window, sliding log and sliding window counter algorithms compared, atomic Redis implementation with Lua, race conditions, multi-region synchronisation, HTTP 429 and rate-limit headers, and failure modes.