Using The BFF Architectural Pattern Instead of API Gateway

  Рет қаралды 301

Bulama Yusuf

Bulama Yusuf

Күн бұрын

Пікірлер: 9
@טלעמית-מ9כ
@טלעמית-מ9כ Күн бұрын
Great explanation
@bulama
@bulama 22 сағат бұрын
Thanks.
@sinema7101
@sinema7101 Күн бұрын
tbf i'm not convinced in BFF. It can get messy and over-bloated fast. That's just my experience from my current employer. I'm aware that's an issue of the team which is developing multiple BFFs. We can also consider an API Gateway like KrakenD, Kong, Tyk to modify responses. (it would be possible with nginx too) So we could write less code, probably even less dependencies to maintain. (no additional backends) Graphql is made for this problem too. (REST is easier to implement and has a superior error handling. You need to be check permissions for Grahql carefully. One request can include multiple queries) This isn't a complete list. Just some ideas. Good Video
@bulama
@bulama 22 сағат бұрын
@sinema7101 I agree that BFFs do introduce more complexity in terms of components and source code to handle. Team structure and skills within teams is also a big factor otherwise a single team handling multiple components can become overwhelming. As for code being bloated, it depends on what bloated means. In my view bloated code is code which handles or tries to do more than it should, like a single API endpoint having to be aware of the specific needs of different clients. In such cases having BFF lets you isolate the needs of each client but then the trade off is more complexity and if you lack the team structure to support it, it just complicates things. Thank you for your feedback.
@abubakarhassan6241
@abubakarhassan6241 16 сағат бұрын
Good video. Would you recommend using mono-repo or multi-repo to make it smoother for maintenance and collaborating on a BFF Architectural Pattern?
@bulama
@bulama 13 сағат бұрын
I would say multi-repo. Each BFF in its own repo. That’s what I’ve done with teams I’ve worked with. Thanks for your feedback.
@abubakarhassan6241
@abubakarhassan6241 13 сағат бұрын
@@bulama thank you.
@socar-pl
@socar-pl Күн бұрын
so it's not one gateway but two gateways with dedicated DTO's for each platform
@bulama
@bulama 22 сағат бұрын
That’s another way to think about it. Though the meaning that tends to be associated with “gateway” is “one and only” while with BFFs you would expect one per client/platform as you rightly put it.
How I Saved a Nationwide Healthcare Software Project
19:24
Bulama Yusuf
Рет қаралды 57
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 12 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 3,3 МЛН
3 Key Things To Help You Master Relational Database Modelling
12:12
Straight Forward Explanation: Forward Proxy vs Reverse Proxy
6:44
DBA wet & Code Review voor Gemeente Nijmegen
15:28
Sayf Jawad
Рет қаралды 11 М.
Multiple Vue Components in one File? Vue Vine makes it possible
14:20
Alexander Lichter
Рет қаралды 2,5 М.
What is Shadow AI? The Dark Horse of Cybersecurity Threats
11:18
IBM Technology
Рет қаралды 8 М.
The Reason Why Developers Have More Annoying Meetings
8:18
Bulama Yusuf
Рет қаралды 64
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 643 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,6 МЛН