知识卡片

问题卡 · 4359.b.1.b.1

注册原子性可约束拆分

理解等级:高级

当业务绝不接受客户记录缺少密码或信用卡记录,注册必须整体提交。Sysops因此选择一个客户服务,并在API和服务网格中使用安全库控制访问,敏感信息仍加密与令牌化。代价是所有客户功能一起测试部署和扩展。这个案例说明可以用具体设计措施缓解安全压力,再保住硬性事务目标;所用安全库是书内虚构方案,不是通用安全证明。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 服务粒度 · 查看原书依据

      Customer registration and unsubscribe functionality requires a single atomic unit of work. A single service would support ACID transactions to meet this requirement, whereas separate services would not. Use of the Tortoise security libraries in the API layer and the service mesh will mitigate security access risk to sensitive information.

    参考来源

    - 位置:《Software Architecture: The Hard Parts》第07章《服务粒度》(来源项目: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/ch07.xhtml) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Customer registration and unsubscribe functionality requires a single atomic unit of work. A single service would support ACID transactions to meet this requirement, whereas separate services would not. Use of the Tortoise security libraries in the API layer and the service mesh will mitigate security access risk to sensitive information.