System Design · Middle · Question 67 of 75
A page needs data from 6 microservices. What reduces chattiness for the client?
- ✓Correct answer: An aggregation layer (BFF or GraphQL) that fetches and combines data server-side, returning one response shaped for the page
- 2Making 6 sequential requests from the browser
- 3Merging all microservices into one
Explanation
Server-side calls are faster within the data center and the client's latency cost is paid once.