知识卡片
读写优先级参与数据库选型
选数据库时应说明读、写哪一侧是主要负载,再结合数据形态测试候选。原书用高写入适合列式库、高读取可考虑键值/文档/图库、读写均衡可考虑关系库等做启发式配对;这些不是普遍性能定律。真实选型还需核对查询方式、事务语义、索引和代表性负载基准。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Architectural Intersections · 查看原书依据
If the business problem involves high read or write volumes, that’s important information for aligning the database topology with the architecture.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第26章《Architectural Intersections》(阅读计划第30项,单元11;源文件:`OEBPS/ch26.html`)
- 结论依据:原书明确把读写量优先级作为数据库与架构对齐的因素,并给出类型配对示例;避免普遍化及验证维度是应用边界。
- 原始内容:If the business problem involves high read or write volumes, that’s important information for aligning the database topology with the architecture.