Microservice Performance
摘要
When you move from the traditional three-tier or n-tier architecture to the microservices architecture, one main observable characteristic is the increased number of interconnections between microservice processes. A computation that once occurred entirely within a single process might now be divided into many microcomputations across different processes. This increases the number of interprocess communications, the number of context switches, the number of I/O operations involved, and so on. Therefore, examining these aspects in more detail is logical. This chapter explores a few performance aspects that should be considered in microservices, including the following.