Exploring the microservices architecture and its components
As we saw with the characteristics of microservices, microservices are independent programs that execute a task on command. If we focus on this, we will recognize the ideas of decentralization and specialization. Because instead of one big, centralized program, we have several small, decentralized programs that make microservices. And instead of having one program that does everything, we have multiple programs, each executing a specialized task.
Thus, the concepts of decentralization and specialization are the starting point of microservices. When we translate these concepts into a practical microservices architecture, we can see the components that constitute such an architecture.
Because, in addition to microservices, we need a mechanism that orchestrates the messages that fire microservices, such as the task queue we saw earlier. But we also need functionality in the second task of Figure 1.2 that sends a task to...