微服务的优缺点

微服务的优缺点

引用Chris Richardson一书中描述:

优点:

 It enables the continuous delivery and deployment of large, complex applications.
 Services are small and easily maintained.
 Services are independently deployable.
 Services are independently scalable.
 The microservice architecture enables teams to be autonomous.
 It allows easy experimenting and adoption of new technologies.
 It has better fault isolation.

缺点:

 Finding the right set of services is challenging.
 Distributed systems are complex, which makes development, testing, and deployment
difficult.
 Deploying features that span multiple services requires careful coordination.
 Deciding when to adopt the microservice architecture is difficult.