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!

12FansLike
15,848FollowersFollow
13FollowersFollow
676SubscribersSubscribe

Related Articles

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...

Brute Force: Definition and precautions to take

A brute force attack is a method of finding someone's password or cryptographic key in order to gain access to an online service, personal...

Explore More Articles

Rolls-Royce builds world's largest jet engine-min

Rolls-Royce builds world’s largest jet engine

0
Rolls-Royce's new gas turbine engine, UltraFan, has just completed its first ground test before electric engines enter all areas of transportation. When launched, it will...
4 Best Truck mods in Euro Truck Simulator 2

4 Best Truck mods in Euro Truck Simulator 2

0
ETS 2 is a game all about driving a truck in a massive world of roads. In this case, we have listed the best...
Best Car mods in Euro Truck Simulator 2-main

4 Best Car mods in Euro Truck Simulator 2

0
When it comes to Euro Truck Simulator 2, players mostly focused on trucks and trailers mod. However there are lots of great car mods...