知识卡片

普通读书笔记卡 · 2313.e.5.h.1.a

逻辑层不同于部署层

理解等级:中级

Layer是代码内部的逻辑职责边界,多个层通常共同演进和部署;Tier是可独立部署管理的物理部件,如浏览器、反向代理、Web应用和数据库。即使多个Tier位于同一台机器,仍可独立部署;把代码分层也不自动成为分布式架构。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 架构模式 · 查看原书依据

      a layer is a logical boundary, whereas a tier is a physical boundary. All layers in the layered architecture are bound by the same lifecycle: they are implemented, evolved, and deployed as one single unit. On the other hand, a tier is an independently deployable service, server, or system. For example, consider the N-Tier system

    参考来源

    - 位置:《Learning Domain-Driven Design》第8章《架构模式》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch08.html) - 结论依据:原文围绕本卡所述机制给出定义、适用条件及相关取舍,以下摘录为直接依据。 - 原始内容:a layer is a logical boundary, whereas a tier is a physical boundary. All layers in the layered architecture are bound by the same lifecycle: they are implemented, evolved, and deployed as one single unit. On the other hand, a tier is an independently deployable service, server, or system. For example, consider the N-Tier system