Backend For Frontend Design Pattern For Microservices With Examples
Backend For Frontend Design Pattern For Microservices With Examples
In this video we will learn about Backend for Frontend design pattern for microservices.
Backends for Frontends (BFF) is a microservice design pattern to handle the complexity of client-server communication where we have multiple user interfaces. This pattern suggests having a separate back-end service for each frontend to handle the specific needs of that interface.
This pattern allows developers to optimize the data flow, caching, and authentication mechanisms as per the needs of the front-end.
For example, suppose you have a web application and a mobile application that need to access the same set of services. In this case, you can create separate back-end services for each application, each optimized for the specific platform.
This pattern gives flexibility of larger and faster data loading in web application, while the low latency and optimal network usage for mobile application.
This pattern optimizes the user experience for each interface type by using separate back-end services for them.
This pattern avoids having a single back-end service that serve many different interfaces with different needs that become complex and hard to maintain.
BFF is a variant of the API Gateway pattern, but it also provides an additional layer between microservices and each client type separately.
This pattern introduces multiple gateways for separate client type Instead of a single-entry point for all.
** Usage of this Design Pattern **
1. Use this pattern to achieve faster time to market.
2. Use this pattern for flexibility and dedicated control for each interface type.
3. Use this pattern to modify, manage maintain APIs of different interface separately without interfering with other.
4. Use this pattern to hide unwanted or sensitive data at BFF layer before sending it back to respective frontend.
5. Use this pattern to improve performance and having less logic in frontend side.
** Advantages of this Design Pattern **
1. This pattern solves security problem for microservices.
2. This pattern provides Oauth2 based authentication & authorization.
3. This pattern is a standard security solution
4. This pattern integrates with federated identity providers like FB, Google
** Chapter Timestamps **
0:00 Welcome to Backend for Frontend design pattern
1:07 Agenda of tutorial
2:17 Introduction of Backend for Frontend design pattern
5:26 Real world examples of Backend for Frontend design pattern
9:17 Usage of Backend for Frontend design pattern
10:30 Advantages of Backend for Frontend design pattern
11:10 Summary of Backend for Frontend design pattern
12:05 Next video on Microservices Chassis design pattern
#backendforfrontend #microservice #designpattern
** CHECK OUT OUR OTHER VIDEOS **
Access Token JWT Token Design Pattern for Microservices
• JWT Access Token ...
Difference between Monolithic and Microservice Architecture
• Difference betwee...
Spring boot project setup:
• Spring boot Proje...
Spring Boot Microservice with postgres database Project:
• Spring Boot Micro...
Prepare Docker file, Container and Build Image:
• Docker Tutorial f...
Deploy Docker Image AWS Elastic Container Service:
• Deploy Springboot...
Solid Principle Tutorial
• Solid Principles ...
** CHECK OUR PLAYLISTS **
Microservice Architecture and Microservice Design Patterns Tutorial
• Microservice Arch...
Spring Boot Complete Tutorial
• Spring Boot Tutor...
Docker Containers Complete Tutorial
• Cloud & Container...
Solid Principles Tutorial
• Solid Principles ...
Java Design Pattern Complete Tutorial with Examples
• Java Design Patte...
** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages.
Check out our channel here:
/ @codeonedigest
Don’t forget to subscribe!
** OUR WEBSITE **
https://codeonedigest.wordpress.com/
** GET IN TOUCH **
Email us on codeonedigest@gmail.com
FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Youtube:
/ @codeonedigest
Twitter: https://twitter.com/codeonedigest
Facebook: https://www.facebook.com/codeonedigest
Instagram: https://www.instagram.com/codeonedigest/
Linkedin: https://www.linkedin.com/in/codeone-d...
Reddit: https://www.reddit.com/user/codeonedi...
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest: https://in.pinterest.com/codeonedigest/
Comments
Post a Comment