Difference Between Buffering and Caching in OS

Operating SystemMemoryHardware

In this post, we will understand the difference between buffering and caching in operating systems −

Buffering

  • It is an area in the primary memory.

  • This means it is associated with RAM (Random Access Memory).

  • A buffer stores the original copy of the data in memory.

  • Buffering matches the speed of data stream between the sender and receiver.

Caching

  • A cache stores the original copy of the data in memory.

  • Caching improves the access speed of the frequently used data.

  • It is implemented on the processor.

  • It can be implemented using RAM and disk too.

raja
Published on 19-Apr-2021 09:56:09
Advertisements