知识卡片

普通读书笔记卡 · 2313.e.5.f.10.b.3.e.1.a

存储选型先看访问保证

理解等级:高级

同一订单流程中,订单记录需可靠持久化与事务约束,推荐可容忍延迟,图片需高效传输。按读写比例、访问局部性、一致性和恢复要求分别选择,再控制多技术带来的同步与运维成本;不能因功能多就认定必须多数据库。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Data Storage Strategies · 查看原书依据

      Each of these operations has different requirements for consistency, durability, and performance. For instance, the order processing requires strong consistency and immediate durability, we cannot afford to lose order information or have inconsistent states.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第09章《Data Storage Strategies》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch09.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:同一订单流程中,订单记录需可靠持久化与事务约束,推荐可容忍延迟,图片需高效传输。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Each of these operations has different requirements for consistency, durability, and performance. For instance, the order processing requires strong consistency and immediate durability, we cannot afford to lose order information or have inconsistent states.