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
- Forward proxy vs reverse proxy vs load balancer vs API gateway
- The modern edge stack: CDN → WAF → LB → gateway
- Gateway responsibilities (and a production nginx config)
- Envoy and Kong: declarative gateway config
- Backend for Frontend (BFF) and aggregation
- Gateway as a single point of failure — and how to mitigate
- Gateway anti-patterns: loopback, ESB, turtles, payload routing
- Proxy mechanics that bite in production
- 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