Design Patterns · Senior · Question 52 of 75
How does an API Gateway differ from a Backend for Frontend?
- ✓Correct answer: A gateway is a shared entry point (routing, auth, rate limiting); a BFF is tailored to one client's needs and owned by that client's team
- 2They're the same thing
- 3A BFF runs in the browser
Explanation
Often both exist: a gateway at the edge and BFFs behind it per web/mobile app.