概述
From Martin Fowler microservices:
微服务架构即是采用一组小服务来构建应用的方法。
每个服务运行在独立的进程中,不同服务通过一些轻量级交互机制来通信, 例如 RPC、HTTP 等。
服务围绕业务能力来构建,并依赖自动部署机制来独立部署。
From Sam Newman [Building Microservices]:
You should instead think of Microservices as a specific approach for SOA in the same way that XP or Scrum are specific approaches for Agile software development.
微服务即SOA的一种实现方式。企业服务总线(ESB)设计的失败给SOA带上了负面的标签。