自包含系统与整体系统

Self-Contained Systems vs Monolithic

我只想知道自包含系统 (SCS) 和单体系统之间是否存在差异,SCS 与微服务是不同的还是相同的?

这里是独立系统的定义(source):

The Self-contained System (SCS) approach is an architecture that focuses on a separation of the functionality into many independent systems, making the complete logical system a collaboration of many smaller software systems. This avoids the problem of large monoliths that grow constantly and eventually become unmaintainable.

所以是的,自包含系统与单体系统有很大不同。

关于自包含系统和微服务的关系,他们有将系统分解成更小的独立子系统的想法。但是,重要的区别是 (source)

  • 自包含系统不相互通信,
  • 每个自包含系统都有自己的 UI,而微服务不一定有 UI 或共享一个公共系统。

This article给出了另一个重要特征:

A system that just provides an API is not an SCS by definition. It might still be considered a useful architecture, of course - but it would not be called SCS.