- Full Stack Development with JHipster
- Deepu K Sasidharan Sendil Kumar N
- 252字
- 2021-08-27 19:57:31
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.
推薦閱讀
- 精通JavaScript+jQuery:100%動態網頁設計密碼
- Mastering Concurrency in Go
- Android 9 Development Cookbook(Third Edition)
- Blockly創意趣味編程
- OpenShift在企業中的實踐:PaaS DevOps微服務(第2版)
- Android Native Development Kit Cookbook
- SAP BusinessObjects Dashboards 4.1 Cookbook
- Python機器學習基礎教程
- 用戶體驗可視化指南
- Python圖形化編程(微課版)
- 移動增值應用開發技術導論
- Elasticsearch Essentials
- Hadoop大數據分析技術
- Ext JS 4 Plugin and Extension Development
- Drupal Search Engine Optimization