知识卡片

普通读书笔记卡 · 2774.l

顺序追加改善存储访问

理解等级:中级

把尽可能多的写入变成追加、读取变成顺序扫描,可减少随机访问成本;机械盘尤其受寻道与旋转影响。更新日志记录变化,再组织读取视图,是把随机更新转成顺序I/O的一种思路。SSD差异较小但工作负载仍需测量;此处不把原章对Cassandra的内存SSTable描述扩成存储结构结论。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 理解性能的心智模型 · 查看原书依据

      The reason is that sequential operations avoid disk rotational delay, which is the time for the sector containing the block to rotate and align with the header, adding significant delays to disk latency. With solid-state drives (SSDs), the difference is reduced but still present.14 We can therefore improve I/O performance if we convert all reads and writes to sequential reads and writes as much as possible.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第3章《理解性能的心智模型》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch03.xhtml) - 结论依据:原文的定义、比较或例子支持“把尽可能多的写入变成追加、读取变成顺序扫描,可减少随机访问成本;机械盘尤其受寻道与旋转影响”;正文据此说明用途和边界。 - 原始内容:The reason is that sequential operations avoid disk rotational delay, which is the time for the sector containing the block to rotate and align with the header, adding significant delays to disk latency. With solid-state drives (SSDs), the difference is reduced but still present.14 We can therefore improve I/O performance if we convert all reads and writes to sequential reads and writes as much as possible.