知识卡片

普通读书笔记卡 · 2313.e.3.g.3.a

独立部署包含数据

理解等级:中级

独立部署不能只检查服务进程。若服务必须依赖一个按独立节奏发布的共享数据库才能工作,它们没有完整的独立部署边界;操作系统、消息代理和其他启动必需品也必须纳入。识别边界时可问:从零启动这个单元,到能在近生产环境运行,究竟需要哪些东西?

相关:[[架构量子定义边界]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 辨别架构中的耦合 · 查看原书依据

      Thus, any system that uses a shared database fails the architecture quantum criteria for independent deployment unless the database deployment is in lockstep with the application. Many distributed systems that would otherwise qualify for multiple quanta fail the independently deployable part if they share a common database that has its own deployment cadence.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第2章《辨别架构中的耦合》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch02.xhtml) - 结论依据:原文的定义、比较或案例支持“独立部署不能只检查服务进程”;正文据此解释其用途与适用边界。 - 原始内容:Thus, any system that uses a shared database fails the architecture quantum criteria for independent deployment unless the database deployment is in lockstep with the application. Many distributed systems that would otherwise qualify for multiple quanta fail the independently deployable part if they share a common database that has its own deployment cadence.