Grokking Microservices Design Patterns
Vote

0% completed

​

BFF Pattern: An Example

An online store shows the same product on three screens. A web page has room for everything. A phone shows a small card. A television shows one line under the picture.

Behind them sit four services: products, reviews, inventory and recommendations. The question is what stands between those services and the three screens.

One API for Everyone

The straightforward answer is a single API that returns the full product. Every client calls it and takes what it needs.

That answer has two costs, and the smallest client pays both.

1

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content