In microservice architecture, what is the difference between proxy pattern and aggregator composition pattern?

Viewed 520

In its simplest form, Aggregator invokes multiple services to achieve the functionality required by the application.

Proxy is a variation of Aggregator. In this case, no aggregation needs to happen on the client but a different microservice may be invoked based upon the business need

but Proxy can be of two kinds smart and dumb
and if the Proxy is smart, what's the difference from an Aggregator pattern?

1 Answers

in Aggregator Pattern we have Combined request ,then aggregator Break The Reaquest to Send to Provider services and Get Response for Deliver To Consumer

But In Proxy Pattern Consumer Dont Know The EndpointAdress and Send Request To ProxyService

notice:Request In Aggregator Pattern are Composit But In Proxy Pattern Request Are Composite or Simple

Related