2.2.1 构建分布式系统的复杂性
Because microservices are distributed and fine-grained (small), they introduce a level of complexity into your application that wouldn’t be there in more monolithic applications. Microservice architectures require a high degree of operational maturity. Don’t consider using microservices unless your organization is willing to invest in the automation and operational work (monitoring, scaling) that a highly distributed application needs to be successful.
由于微服务是分布式的并且粒度大小适合的(小粒度),所以它们也给你的应用带来了一定的复杂性,而这些复杂性在单体应用里是没有的。微服务架构要求具备高度成熟的运营工作。若想要一个成功的高度分布式应用,那么你的组织就要在自动化和运营工作(监控,扩展)上投入精力,否则就不要考虑使用微服务。