[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.

 

 

posted @   Zhentiw  阅读(27)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2020-03-26 [HTML 5 Performance] Optimize Cross-browser Images with webp and the 'picture' Element
2020-03-26 [HTML 5 Performance] Benchmark functions runtime in chrome console
2020-03-26 [HTML 5 Performance] Measuring used JS heap size in chrome
2020-03-26 [Javascript] Private class properties in Javascript
2020-03-26 [Tools Vim] Open Files into Vim from the Terminal as buffers, splits, and tabs
2019-03-26 [Git] Undo a commit that has already been pushed to the remote repository
2019-03-26 [Git] Undo my last commit and split it into two separate ones
点击右上角即可分享
微信分享提示