In the previous chapter, we saw the functioning and applicability of the aggregator design pattern, which is one of the most commonly used patterns in the world of microservices. In this chapter, you will learn about a pattern that is widely used, even though a lot of software engineers are not fully aware of it. We have made use of the proxy design pattern for some time, but haven't realized it yet.
This is a more conceptual chapter than the previous chapter, but also very instructive. Let's understand how the proxy design pattern works, and where and when it should be used. In this process, we will see the best practices and the positive and negative sides of this pattern.
In this chapter, we'll look at the following:
- Proxy strategy
- Microservice communication
- Pattern scalability