Giter Site home page Giter Site logo

simpleclearfileio's Introduction

文件 I/O 简明概述

文件 I/O 性能是后台应用的主要瓶颈之一,一直以来想对文件 I/O 这个偌大的系统进行总结,故写此文。

文件 I/O 内容较多,书籍的意义在于能更系统地说明问题,避免博客文章散乱的问题。

书籍有涉及很大部分非原创内容,相关引用会在 REFERENCE 小节中指出。

书籍内容包括:

  • [1.page cache](1. page cache.html)
  • [2.DMA 与零拷贝技术](2. DMA 与零拷贝技术.html)
  • [3.mmap](3. mmap.html)
  • [4.文件分区](4. 文件分区.html)
  • [5.Java ByteBuffer与 Channel](5. Java ByteBuffer与 Channel.html)
  • [6.FileChannel](6. FileChannel.html)
  • [7.JavaVisual 工具](7. Visual VM.html)
  • [8.Java ByteBuffer 测试](8. Java ByteBuffer 测试.html)
  • [9.如何实现顺序读写](9. 如何实现顺序读写.html)

一些章节可能会需要一定的 Java 语言基础,其中:14 小节完全不需要 Java 基础,而 59 小节会涉及一定的 Java 代码。读者朋友可以有选择性地阅读。

linux_io_stack_diagram

Figure1.Linux IO Stack Diagram


其他

推荐阅读

  1. On Disk IO, Part 1: Flavors of IO
  2. On Disk IO, Part 2: More Flavours of IO
  3. Read, write & space amplification - pick 2

致谢

本书受到 文件 IO 操作的一些最佳实践 一文启发,很感谢阿里巴巴中间件团队的徐靖峰,其所写文章带来的启发意义非凡。

simpleclearfileio's People

Contributors

wathenjiang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.