All Questions
Api Gateway medium

You have a Desktop Web App (high bandwidth) and a Mobile App (low bandwidth/high latency). Why might you implement the 'Backend for Frontend' (BFF) pattern instead of a single General Purpose API Gateway?

  1. A To allow the Mobile App to access the production database directly, bypassing the service layer for performance.
  2. B To create tailored entry points: The Mobile Gateway can perform heavy data filtering and field stripping to minimize payload size, while the Web Gateway provides rich, verbose data sets.
  3. C To ensure that the mobile application uses hardware-based encryption while the web app uses software-based SSL.
  4. D To strictly separate the development teams so they never have to share the same Git repository.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions