HomeDefinitionsBuffer memory: Definition and Working Mechanism

Buffer memory: Definition and Working Mechanism

Buffer memory is a memory or part of memory allowing the temporary storage of data between two electronic bodies having different characteristics.

If something is to be loaded from a source and there are interruptions in the connection, this can lead to stuttering and delays that are then disruptive, for example when streaming or reading CDs or printing.

A buffer memory is used to initially record the data that is tapped. The reading program accesses the buffer instead of directly tapping into the source. If there are problems with the connection, this does not result in an interruption as long as the connection is not interrupted longer than the buffer can hold data.

How does buffering work?

A buffer contains data that is stored in a computer’s random access memory (RAM) for a short period of time. The purpose of the buffer memory is to hold this data before it is used.

For example, when you download an audio or video file from the internet, a quarter of this file is stored in the buffer memory before being read by the computer. While playing the audio or video file, the computer downloads the rest of the file little by little while storing it in the buffer.

Since the file is played from the buffer (not from the internet) the sound or video is less likely to “freeze” or “skip” when there is internet congestion. This technique is notably used by audio or video streaming applications such as Spotify or YouTube.

Buffering is also used to improve the performance of a computer. This is because most hard drives use buffering to allow the computer to have faster access to hard drive data.

Video cards, for example, send images to the buffer before they are even displayed on the screen. Most computer programs also use buffers to store data during execution.

In programming  buffering sometimes implies the need to filter the data from the intended place in order to be able to edit or process it before transferring it to a file or a classic database.

Mehmet S. Kaya
Mehmet S. Kayahttps://teknonel.com
Mehmet is one of the administrator of Teknonel. As a software developer, he loves to share his knowledge in related topics. He is highly familiar with the editorial process from the inception of an article idea, through the iterative process, publishing, and performance analysis as well as product reviews.

Follow us on Social Media!


Related Articles

HDR: Definition, Advantages and Importance

HDR stands for "High Dynamic Range". The goal is to translate as well as possible, on a photo or a video, what the human...

Keylogger: Definition, Prevention and Types

The term keylogger is used to designate any computer process (software or hardware) capable of recording the sequences of keys typed on a keyboard,...

Hyperthreading: Definition, Uses and Importance

Threads are small tasks that the computer must perform simultaneously, that is to say operations that one or more open programs must execute and...

Geofencing: Definition, Uses and Importance

Geofencing is a geolocation technology that monitors the movement of objects or people within a predefined perimeter. This system is used, for example, for...

Explore More Articles

Starfield How to upgrade Ship Weapons-min

Starfield: How to upgrade Ship Weapons?

Within Starfield you can actually purchase upgrade or fully build your own spaceship via modules. The thing is that, a lot of this isn't...

Starfield: How to mine Chlorosilanes?

If you already used the workbench, you might have notice a recipe that requires a little resource called Chlorosilanes. And while tracking down elements,...
Starfield How to use Scanner-min

Starfield: How to use Scanner?

Scanner is a tool that you'll be needing a lot of in Starfield. It allows you to see which resources and materials a planet...
OpenAI Will there be GPT-5

OpenAI’s first developer conference: Will there be GPT-5?

OpenAI will hold its first developer conference, OpenAI DevDay, on November 6, two months later. During the full-day event, the OpenAI team will lead...