2.2 什么时候不应该使用微服务
We’ve spent this chapter talking about why microservices are a powerful architectural pattern for building applications. But I haven’t touched on when you shouldn’t use microservices to build your applications. Let’s walk through them:
- Complexity building distributed systems
- Virtual server/container sprawl
- Application type
- Data transactions and consistency
我们在本章讨论了为什么微服务是构建应用的一种强大的架构模式。但我还没有谈及什么时候不应该使用微服务来构建应用。接下来让我们详细谈谈这几方面的问题:
- 构建分布式系统大的复杂性
- 虚拟服务器/容器蔓延
- 应用类型
- 数据事务和一致性