In the previous chapter, we saw the functioning and applicability of the proxy design pattern, which is a very widely used pattern, even though it is used unconsciously by some developers. We also understand the flexibility that the proxy provides for migrations from monolithic applications to microservices. In this chapter, you will learn about the chained design pattern, a very useful pattern, the use of which may become necessary for large applications that use the architecture of microservices.
During the course of this chapter, you will understand how the pattern functions and when and where it applies. You will also learn about the negative and positive points of the chained design pattern.
In this chapter, we'll look at:
- Microservice communication
- Pattern scalability
- Anti-pattern
- Best practices