[Web] Monolith vs Microservices
Monolith | Microservices |
Self-contained application that is deployed as one unit | Independently-deployed applications that communicate through networks |
Pros
|
Pros
|
Cons
|
Microservice Benefits
- Scale
Lean applications that are able to tailor their logic and infrastructure to their specific business needs. More-easily architected for horizontally-scaling. - Development in Parallel
Teams can develop and deploy their own codebases. - Cost Effectiveness
Utilize resources only for what is necessary for the specific microservice. - Flexibility Choose technologies that make the most sense for the team and business.
Monolith or Microservices
You are the lone developer in charge of a small project that isn’t expected to grow in size. Should you use monolith or microservice architecture? Why?
Answer: Monolith
An organization wants to build a new platform that involves collaboration between a data team that uses Python and an applications team that uses NodeJS. Should the organization use monolith or microservice architecture? Why?
Answer: microservice
- Parallel Development
- Flexibility
You are working for an early-stage startup with constantly changing business requirements. Should your team use monolith or microservice architecture? Why?
Answer: Monolith
- Easy to setup, won't spend too much time
You are working with one other developer to build the first iteration of a proof-of-concept application as part of a race to be the first to market. Should you use monolith or microservice architecture? Why?
Answer: monolith
You are working on a hobby project that is very limited in financial resources. Should you use monolith or microservice architecture? Why?
Answer: monolith
相关文章
- web基础知识_Web开发基础
- 开源云原生平台对比 KubeSphere vs Rainbond
- 喊一声“嘿!GitHub”,说出需求VS Code就能自己写代码了
- 实测:文心一言 vs GPT-4
- Wordpress vs Blogger:那个更好?
- 上搭建web服务实现Web服务——学习Linux基础技能(在linux基础)
- Linux搭建快捷高效的WEB服务器(linux下web服务器)
- i5-11400H VS.锐龙7 5800H大战17款单机游戏:Intel赢13款
- VS中使用MySQL:获取最佳性能(vs和mysql)
- 服务快速部署Linux服务器,轻松架设Web服务(linux部署web)
- 管理MSSQL的好帮手:在线Web管理器来帮忙!(在线web管理mssql)
- 展示Web与Oracle的极致结合(web oracle)
- Redis在Web开发中的光辉成就(web框架redis)
- 使用webpy和redis构建高性能Web应用(web.py redis)
- VS控制台操作Redis一个非常简单的新手指南(vs控制redis)
- 分享|激光SLAM Vs 视觉SLAM