In the first two chapters, we obtained a range of substantial information. We covered concepts such as the Domain-Driven Design (DDD), caching, and database among other items essential to the development of efficient and scalable microservices. In this chapter, we need to cover more theoretical content, especially when it comes to patterns for the development of microservices.
Now, let's look at patterns, anti-patterns, tools, and code structure options for microservices. In this chapter, we will work on the applicability of caches, queues, asynchrony, and workers. The time has come to start writing our application and to put the theory to practice. Let's take up one of our microservices and apply the knowledge acquired so far to it. By the end of this chapter, you will know the two patterns that are extremely useful for microservices—CQRS and...