Tech Spring

Tech Spring

Share

• كل مايتعلق بالبرمجة والسوفت وير ..
• اكواد - شفرات - خوارزميات - ..
• مفاهيم تخص بالمبرمجين ..

24/04/2023

What is caching?
Caching -- pronounced "cashing" -- is the process of storing data in a cache, which is a temporary storage area that facilitates faster access to data with the goal of improving application and system performance.

A common example of caching is a web browser that stores page content on a local disk for a designated period of time. When the user first visits the website, the content is downloaded from the web server and saved to a local directory. If the user revisits the website, the content comes from the local cache rather than the server. In this way, page content loads much faster into the browser than it would if it were downloaded from the web server. This saves the user time, reduces network traffic and minimizes the load on the web server.

The idea behind caching is to temporarily copy data to a location that enables an application or component to access the data faster than if retrieving it from its primary source.

how cache memory worksCache memory is a memory block separate from main memory that is accessed before main memory.
A web browser, for example, can access data faster from a local disk cache than it can through an internet connection to a web server.

What are different kinds of caching?
The same principle that applies to internet caching pertains to a variety of other types of caching:

CPU caching. Most central processing units (CPUs) include high-speed caches, such as L1 and L2, that sit between the computer's main memory and the processor, providing the CPU with faster access to program instruction sets than the main memory can deliver.

In-memory caching. Applications often use a system's main memory to cache data stored on disk. For example, a database management system (DBMS) might use caching for read-heavy workloads or complex query
Virtual memory caching. A computer's memory management unit (MMU) often includes a Translation Lookup Buffer (TLB) to cache recent translations between virtual and physical addresses.
Serv

Want your business to be the top-listed Media Company in Khartoum?
Click here to claim your Sponsored Listing.

Category

Telephone

Address

Khartoum