The proxy approach

The proxy design pattern is a variation of the aggregator design pattern and is used when we want to combine or encapsulate access to microservices, and when no value needs to be aggregated. Basically, it allows direct access to the business, but isolates the technical layer. Just like the aggregator design pattern, the proxy design pattern allows independent scalability, both in the x-axis and the z-axis.

The proxy design pattern can be seen as a more purist pattern because it allows a single point of access to microservices, but there is generally no need for communication between microservices. Another strong feature relative to the proxy design pattern is the flexibility to apply other patterns while the proxy is applied. ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.