官术网_书友最值得收藏!

When to choose a microservice architecture

The following list can be used as a general guide when choosing a microservice architecture. This is not a definitive list but gives an idea of when to go with microservices architecture over a monolith. Please note that unlike choosing a monolithic architecture, the decision here is more complex and may involve cross consideration among many of the following points:

  • When the application scope is large and well defined and you are sure that the application will grow tremendously in terms of features. For example, an online e-commerce store, a social media service, a video streaming service with a large user base, an API provider, and so on.
  • When the team size is large, there must be enough members to effectively develop individual components independently.
  • When the average skill set of the team is good and team members are confident about advanced microservice patterns.
  • When time to market is not critical. The microservice architecture will take more time to get right up front.
  • When you are ready to spend more on infrastructure, monitoring, and so on, in order to improve the product quality.
  • When your user base is huge and you expect them to grow. For example, a social media application targeting users all over the world.

Though a monolithic architecture would suffice in most cases, investing up front in a microservice architecture will reap long-term benefits when the application grows huge.

For more on these architecture patterns, you can refer to  https://articles.microservices.com/monolithic-vs-microservices-architecture-5c4848858f59.
主站蜘蛛池模板: 九寨沟县| 嘉禾县| 城口县| 长海县| 张家口市| 重庆市| 乡城县| 铜梁县| 昭平县| 平邑县| 民权县| 基隆市| 栖霞市| 八宿县| 梅州市| 陇西县| 乡宁县| 金华市| 龙岩市| 涟源市| 南宁市| 龙胜| 舟山市| 安龙县| 贵德县| 灵寿县| 安达市| 大田县| 瑞金市| 林甸县| 宜宾市| 新兴县| 平阴县| 永德县| 闽清县| 宁武县| 澄江县| 新丰县| 塔河县| 弥渡县| 宁明县|