System Design · Middle · Question 45 of 75

How does an API Gateway differ from a BFF?

Explanation

A gateway handles cross-cutting concerns for all clients. A BFF aggregates and adapts data to the needs of a specific interface (web, mobile app). In real systems they often coexist.

Further reading

Problem with a question

System Design · Middle · question 45

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz