Solution
Service proxy is an implementation pattern which solves a communication problem. Service proxy helps in abstracting the service implementation from the interface definitions. This lets you change the service implementation without affecting the contracts with the clients. To enable communication with an Actor or a Microservice, a client will create a proxy object of the Actor that implements the Actor or service interface. All interactions with the Actor or service is performed by invoking methods on the proxy object. The Actor or service proxy can be used for client-to-Actor/service and Actor/service-to-Actor/service communication. The proxy pattern does not change any interfaces. This defines substitute objects for other objects. ...
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