Tianhe Gao

hard-disk-io

[两招提升硬盘存储数据的写入效率 - 又拍云](https://www.upyun.com/tech/article/696/两招提升硬盘存储数据的写入效率.html)

优化写入性能的两种方法:

  1. 追加写,利用顺序 IO 来实现快速写
  2. 很多数据库中为了提升性能都会引入 WAL 机制,例如,Kafka 和 MySQL 的 InnoDB 存储引擎举例

还可以看一下 LSM 树,etcd 等是怎么实现快速写的。


参考资料:

  1. https://www.educba.com/what-is-kafka/
  2. https://kafka.apache.org/intro
  3. https://en.wikipedia.org/wiki/Apache_Kafka
  4. https://developpaper.com/why-is-kafka-so-fast/
  5. https://kafka.apache.org/quickstart
  6. https://www.freecodecamp.org/news/what-makes-apache-kafka-so-fast-a8d4f94ab145/
  7. https://en.wikipedia.org/wiki/Log-structured_merge-tree

No notes link to this note