[Web] When Not to Use Microservices
Monoliths Are Not Bad!
Microservices designs are another architectural pattern and are not intended to replace monolith applications. We should not blindly build applications as microservices without understanding the tradeoffs. Doing so could actually decrease productivity!
One way to think about this is to revisit our analogy with the Sports Superstore. Does it make sense for every aspiring small business owner to open and manage multiple stores at once?
Considerations for Not Using Microservices
System Complexity
Rather than deploying a single application, we would be deploying multiple modules separately. There is more overhead in setting up projects.
Network Latency
By introducing a network between modules, we have increased latency in application performance and will find it harder to debug our application.
Difficulty with Debugging
We can no longer rely on a stack trace or tools that can help us pinpoint where a bug is. We may end up relying on logging to find causes of issues.
相关文章
- Java Web Servlet (Part C)- HttpServletRequest & HttpServletResponse
- Rust web 前端库/框架评测,以及和 js 前端库/框架的比较
- 科研丨Web of Science检索技巧
- Web Visibilitychange
- idea社区版没有web application_springcloud文档
- 【web Django学习】概念基础快速入门
- mvn install 报错 Please refer to E:mavenweb_nanchangtargetsurefire-reports for the indivi..
- Web前端开发JavaScript基础
- Django Ajax 实现Web命令行执行
- 资深Web开发的经验之谈:为什么你开发的网页不应该大于14KB?
- ORA-22344: can not specify CONVERT TO SUBSTITUTABLE option for ALTER TYPE other than NOT FINAL change ORACLE 报错 故障修复 远程处理
- ORA-16444: ALTER SYSTEM FLUSH REDO TO STANDBY failed due to a corrupted control file or online log file. ORACLE 报错 故障修复 远程处理
- Redis在Web应用中的应用(redisweb)
- 给你一个美观、安全的Web连接MySQL指南(web连接mysql)
- 器Linux下检查Web服务器状态的方法(linux查看web服务)
- web服务器高可用性架构:两台Linux搭建Web服务器(两台linux挂载)
- .jsNode.js与MongoDB结合,创建真正的强大Web应用(mongodbnode)
- Building Reliable Web Applications: A Guide to Writing Effective MySQL Test Code.(mysql测试代码)
- PHPMySQL开发Web应用程序(phpmysqls)
- Web项目下使用Redis加速优化(web项目 redis)
- 新技术Web环境下Redis配置实战分享(web配置redis)
- Web应用程序提升运行效率Redis技术实践(web应用使用redis)
- Web工程基于Redis的有效连接方案(web工程连接redis)
- 抉择Web还是Redis(web和redis哪个好)
- Oracle Web访问企业无线界面新体验(oracle web访问)
- Oracle Web服务上的开放端口(oracle web端口)