Skip to main content

Backend for Frontend (BFF) Pattern

Learn Backend for Frontend (BFF) Pattern (Advanced Microservices Patterns, Microservices Design Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is the Backend for Frontend (BFF) Pattern? Different client types (a web app, an iOS app, an Android app) often have very different needs - different data shapes, different amounts of data (a mobile app wants a lean payload, a web dashboard wants everything), different interaction patterns. The BFF Pattern gives each client type its own dedicated backend , tailored specifically to that client, instead of one generic API trying to satisfy every client equally well (and usually satisfying none of them well). Without BFF vs With BFF • Without BFF: One shared API serves web, mobile, and...

More lessons in Advanced Microservices Patterns