Proxy pattern
This pattern is a variation of the aggregator pattern, but with one important difference. There is no data collection for all the internal microservices, meaning that there is no aggregation. The proxy pattern directs the call to a specific microservice and the analysis of the request is what determines which microservice should be called (a typical behavior of a proxy pattern).
However, there may be some benefit in the implementation of this proxy. Immediately before the response is returned to the client, there may be a transformation of this response to the format expected by the requesting client. Remember that different clients (including web browsers, mobile devices, and so on) can make the request. Let's look at the ...
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