There are several key points that can indicate that BFF pattern is good for you

  • When your interfaces are different across clients
  • When communication format for clients is different (one requires XML the other requires JSON). This can be beneficial if your client is an old legacy service but you have to communicate with it using XML, and you only use JSON. In this case, you can create an XML BFF that can get data from your microservices or your monolithic service that sends JSON and translate that into XML for that client