SOA 和微服务有什么区别

Dav*_*yan 3 soa distributed-computing web microservices

好的,据我所知,SOA 和微服务中的模块应该是独立的和可重用的。但是 SOA 和微服务的真正区别是什么?

小智 8

两者都依赖于服务作为主要组件,但存在很多差异。很少有人在下面

SOA:

  • 遵循“尽可能多地共享”的架构方法
  • 支持多种消息协议
  • 多线程处理 I/O 的开销更大
  • 最大化应用服务的可重用性
  • 没有完全专注于 DevOps / 持续交付

微服务:

  • 遵循“尽可能少共享”的架构方法

  • 使用轻量级协议,例如 HTTP/REST & AMQP

  • 单线程通常使用事件循环功能进行非锁定 I/O 处理

  • 更专注于解耦

  • 高度关注 DevOps / 持续交付


Mah*_*man 6

Microservices Architecture is not an invention. Enterprises such as Amazon, Netflix, and eBay used the divide and conquer strategy to functionally partition their monolithic applications into smaller units, and resolved many issues. Following the success of these companies, many other companies started adopting this as a common pattern to refactor their applications. Eventually the pattern was termed as Microservices Architecture. Nothing radically new has been introduced in MSA. MSA is the logical evolution of SOA and supports modern business use cases.

在此输入图像描述

Microservices vs SOA: How Are They Different?