耦合与聚合的区别比单体与微服务区别更重要

栏目: 后端 · 发布时间: 7年前

内容简介:Martin Thompson (@mjpt777) 于 6:30 下午 on 周一, 10月 01, 2018:Assuming REST and HTTP are required for microservices greatly restricts agility. Coupling and cohesion are way more important than arguing about microservices and monoliths. How did we go so wrong

Martin Thompson (@mjpt777) 于 6:30 下午 on 周一, 10月 01, 2018:

Assuming REST and HTTP are required for microservices greatly restricts agility. Coupling and cohesion are way more important than arguing about microservices and monoliths. How did we go so wrong with design?

如果说微服务的必备条件REST和http严重限制了敏捷,那么耦合与聚合的区别比微服务与单体区别更重要,但是现实是人们无视这些,为什么我们的设计错误得如此离谱。

banq回答: 现实发展不是设计理性所能掌控的,是各种势力权衡的结果,rest来自于node.js,ddd关注聚合,微服务关注松耦合,单体是耦合的意大利面条,ddd和微服务方向恰好一致。ddd代表理性设计,微服务代表敏捷实践。


以上所述就是小编给大家介绍的《耦合与聚合的区别比单体与微服务区别更重要》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Cracking the Coding Interview

Cracking the Coding Interview

Gayle Laakmann McDowell / CareerCup / 2015-7-1 / USD 39.95

Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I've coached and interviewed hund......一起来看看 《Cracking the Coding Interview》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具