Example – Manager BFF
In any business, it is important to measure and track the work that is performed so that the results can be evaluated against objectives and course corrections made as necessary. Key performance indicators (KPI) are often made available in a manager application.
As depicted in the following figure, a Manager BFF component consists of two out of the three APIs in the Trilateral API pattern. A Manager BFF has an asynchronous API to consume events related to key performance indicators and a synchronous API with queries to retrieve the KPIs and their history. The CQRS pattern is employed to create the metrics materialized views and the API Gateway pattern is leveraged for the synchronous interface.
The key performance indicators ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access