Engineering Decisions · Middle · Question 4 of 14
Web and mobile apps need very different data from the same services. Each client has its own team, and mobile suffers from large payloads. What do you add?
- 1A separate BFF owned by each client team
- 2One shared API with a
?fields=parameter - 3Direct client calls to every microservice
Show the answer
Correct answer: A separate BFF owned by each client team
Explanation
A BFF lets each team shape responses for its own screens and release without waiting for others. A ?fields= parameter fits small differences in one resource, but it won't aggregate several services for a screen. Direct calls fit a very small system, while here they would add round trips on mobile and expose the internal service layout.