是微服务设计模式还是架构? [英] Is Microservice design pattern or architecture?

查看:126
本文介绍了是微服务设计模式还是架构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过严格的研究和分析,我终于到了使我感到困惑的地方:微服务是设计模式还是架构". 有人说这是一种模式,已发展成为单片应用程序的解决方案,因此是设计模式 毫无疑问,有人证实这是一个有关其开发,管理,可伸缩性,自主性和可扩展性的体系结构.全栈. 我欢迎您澄清自己的任何想法或建议.

After doing rigorous research and analysis I finally arrived to a point which is confusing me "Is Microservice a design pattern or architecture". Some say it's a pattern evolved as a solution to monolithic applications and hence design pattern And some confirms no doubt it's an architecture which speaks about their development, management, scalability, autonomous & full stack. Any thoughts or suggestions I welcome to get myself clarified.

推荐答案

微服务最好被描述为一种架构风格.除了体系结构决策外,样式还包括与组织和过程相关的注意事项.

Microservices can be best described as an architectural style. Beside architectural decisions the style also includes organizational and process relevant considerations.

建筑元素包括:

  1. 按业务关注进行组合.
  2. 在持久性方面严格的去耦.
  3. 定义明确的接口和通信.
  4. 目标是缩小服务规模.

组织元素包括:

  1. 围绕组成部分的团队组织(康韦定律).
  2. 团队规模限制(两人披萨队).

与流程相关的元素包括:

The process relevant elements include:

  1. 较少的集中治理.
  2. 更小,更频繁地发布.
  3. 更高的技术决策自由度.
  4. 面向产品的开发(敏捷,MVP,精益等).

有关更多详细信息,我建议阅读Martin Fowler的文章.

For more details I recommend reading the articles from Martin Fowler.

这篇关于是微服务设计模式还是架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆