Advanced API Gateway #api-gateway #rate-limiting #circuit-breaker #BFF

API Gateway Patterns Vocabulary

5 exercises — master API gateway vocabulary: gateway cross-cutting concerns, rate limiting algorithms, circuit breaker states, Backend for Frontend pattern, and north-south vs east-west traffic design.

0 / 5 completed
API gateway patterns vocabulary quick reference
  • API gateway — single entry point; centralises auth, rate limiting, routing, TLS termination
  • Rate limiting — capping requests per time window; HTTP 429 when exceeded
  • Token bucket — rate limiting algorithm that allows controlled burst traffic
  • Circuit breaker — fails fast when a service is unhealthy (closed → open → half-open)
  • BFF — Backend for Frontend; a separate gateway per client type (mobile, web, partner)
  • North-south traffic — external clients → cluster (gateway handles this)
  • East-west traffic — service → service within the cluster (use service mesh, not the gateway)
1 / 5

What is an API gateway, and what responsibilities does it centralise that would otherwise be duplicated across every microservice?