9 Comments
User's avatar
Marcos F. Lobo 🗻🧭's avatar

And when you feed your backend-fro-frontend with event-drive, you have something beautiful :)

Saurabh Dashora's avatar

Would love to know more about it in case you've some blog post or article about this.

Daniel Moka's avatar

Love this, especially the Best Practices section! Much insights right there, keep these coming my friend!

Raul Junco's avatar

It is like giving each frontend its own personal assistant; custom APIs that make sure it gets exactly what it needs without the extra baggage.

Thanks for the shoutout, Saurabh!

Saurabh Dashora's avatar

Indeed...more flexibility for every client.

Thanks Raul. Your article was amazing! 👊

Akos Komuves's avatar

Great intro to the BFF Pattern!

I've never heard about this pattern before, but I've used it in the past.

It involves a lot of work. I had more success with GraphQL, maintaining a single schema and simply pulling what's required for each device. This way, the server remains consistent, and the client application knows what needs to be fetched — they already know what they need for their UIs anyway.

Saurabh Dashora's avatar

Thanks Akos. Glad you enjoyed the post.

Yes, I agree. GraphQL is a nice alternative to BFF. One place where BFFs are better suited as compared to GraphQL is resiliency. One BFF going down due to some localized bug doesn't impact other BFFs serving other clients or partner integrations.