2.2.3 应用的类型
Microservices are geared toward reusability and are extremely useful for building large applications that need to be highly resilient and scalable. This is one of the reasons why so many cloud-based companies have adopted microservices. If you’re building small, departmental-level applications or applications with a small user base, the complexity associated with building on a distributed model such as microservices might be more expense then it’s worth.
微服务是面向复用性来设计的,而且对于构建需要具备高度弹性和可扩展性的大型应用来说,这种模式是很给力的。这也是为什么很多基于云的公司采用微服务的原因之一。如果你正在构建的是小型的,部门级别的应用或者用户群体不是很大的应用,那么采用分布式模型(如微服务)构建所带来的复杂度也许会超过其带来的价值。