Simple description of the difference between buffer and cache

Source: Internet
Author: User
1. What is buffer

Buffer (that is, buffers), the simple is to write to the disk IO first written to memory, when reached a certain time or a certain size, and then write to the disk once, this is a process to take!
Data flow: CPU = = "Memory = =" Disk

2. What is the cache

Cache (buffer), simply to avoid a large number of programs to read and write to the disk, we first write the data in the disk into memory, and then the program directly in memory to read the data, is a take the process!
Data flow: Disk = = "Memory = =" CPU

Simple description of the difference between buffer and cache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.