Reverse Proxy, Forward Proxy, API Gateway & BFF

The edge of your system: what each layer does, where cross-cutting concerns belong, how BFFs aggregate, and how gateways fail.

About 75 minutes · 15 exam questions · 9 interview questions · 2 code labs

What you will learn

  1. Forward proxy vs reverse proxy vs load balancer vs API gateway
  2. The modern edge stack: CDN → WAF → LB → gateway
  3. Gateway responsibilities (and a production nginx config)
  4. Envoy and Kong: declarative gateway config
  5. Backend for Frontend (BFF) and aggregation
  6. Gateway as a single point of failure — and how to mitigate
  7. Gateway anti-patterns: loopback, ESB, turtles, payload routing
  8. Proxy mechanics that bite in production
  9. How to talk about the edge in a system-design interview

Previous: REST vs gRPC vs WebSockets vs SSE vs Long Polling · Next: Service Mesh: Service-to-Service Traffic