Smart proxy
The smart proxy receives this name precisely by doing more tasks than delegating requisitions to their microservices. There is a range of simple tasks that can be executed using the Smart proxy strategy. The most commonly seen task being executed by a Smart proxy is the content modification.
Imagine the scenario where part of the response of a microservice answers an application client, but by an extra field in the microservice response, it does not attend another application client. Many would say that the ideal approach would be to create two versions of the same API to meet the two different consumers. Something very common is simply to modify the proxy-level response. In this way, there is no cost of redeploying a new route ...
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