知识卡片
Sidecar把能力移出进程
Sidecar 是与主应用并排运行的独立进程,可承载安全、配置或观测等横切能力。它不与主服务共享类路径,能减少二进制耦合;但部署、故障监测和运行复杂度仍需单独承担。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第4章《Anti-Patterns: Internal Shared Libraries》(源文件:`_epub-src/OPS/ch04.xhtml`,归一化正文 [50432:54424))
- 结论依据:原文定义 sidecar 为应用外的后台进程、与应用并排运行,并在后文说明其无二进制耦合与部署复杂度。
- 原始内容:Sidecars are the middle ground between services and internal shared libraries. A sidecar is meant to be a background, long running process running outside of your software.