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

栏目: 后端 · 发布时间: 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代表理性设计,微服务代表敏捷实践。


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

查看所有标签

猜你喜欢:

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

Out of Control

Out of Control

Kevin Kelly / Basic Books / 1995-4-14 / USD 22.95

Out of Control is a summary of what we know about self-sustaining systems, both living ones such as a tropical wetland, or an artificial one, such as a computer simulation of our planet. The last chap......一起来看看 《Out of Control》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

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

RGB HEX 互转工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换