Types of Memory and Storage

JK1982 
Created at
Updated at  

  7,272   0   0  

Computer memory, in its simplest form, is any physical electronic component that stores information for immediate use in a computer. It's like the computer's short-term and medium-term workspace where it keeps the data and instructions it actively needs. Think of it as your brain's working memory – the information you're actively thinking about right now.
Without memory, a computer can't do anything. It needs memory to:

  • Store the operating system: The software that controls the computer's basic functions.
  • Store applications: Programs like your web browser, word processor, or games.
  • Store data being processed: The information you're working on, like a document you're editing or a website you're browsing.
  • Store temporary results: Intermediate calculations or data manipulations that the computer needs for the next step.

Computer memory is generally characterized by:

  • Volatility: Whether the data is lost when power is turned off (volatile) or remains stored (non-volatile).
  • Speed: How quickly data can be accessed (faster is better).
  • Capacity: How much data it can hold (more is better).
  • Cost: Faster, larger, and non-volatile memory typically costs more.

Types of Computer Memory and Storage on Earth
There are many different types of computer memory and storage, each with its own characteristics and applications. Here's a breakdown of the major categories:
1. Primary Memory (Main Memory): Directly accessible by the CPU

  • RAM (Random Access Memory): *Volatile, fast, and relatively expensive.* This is the computer's main working memory.
    • DRAM (Dynamic RAM): The most common type of RAM. Needs to be constantly refreshed to retain data. Examples include DDR4, DDR5 (the latest standards).
    • SRAM (Static RAM): Faster and more expensive than DRAM. Uses latches instead of capacitors, so it doesn't need constant refreshing. Used in CPU caches.
  • ROM (Read-Only Memory): *Non-volatile.* Contains firmware, such as the BIOS (Basic Input/Output System), which is essential for booting up the computer. ROM is *usually* read-only, but some types can be programmed (though not easily).
    • PROM (Programmable ROM): Can be written to once.
    • EPROM (Erasable Programmable ROM): Can be erased using ultraviolet light and then reprogrammed.
    • EEPROM (Electrically Erasable Programmable ROM): Can be erased and reprogrammed electrically. Flash memory (see below) is a type of EEPROM.

2. Secondary Storage (External Storage): Persistent storage for data and programs

  • Magnetic Storage: *Non-volatile.* Stores data by magnetizing a thin film on a disk or tape.
    • Hard Disk Drives (HDDs): Rotating platters coated with magnetic material. Relatively cheap but slower than solid-state drives. Still commonly used for large storage needs.
    • Magnetic Tape: Used for archival storage and backups. Very high capacity, but access is sequential, making it slow for random access.
  • Optical Storage: *Non-volatile.* Stores data using lasers to read and write patterns on a reflective surface.
    • CD-ROM (Compact Disc Read-Only Memory): Read-only optical disc.
    • CD-R (Compact Disc Recordable): Can be written to once.
    • CD-RW (Compact Disc Rewritable): Can be written to and erased multiple times.
    • DVD (Digital Versatile Disc): Higher capacity than CDs. Also available in ROM, R, and RW formats.
    • Blu-ray Disc: Even higher capacity than DVDs. Also available in ROM, R, and RW formats.
  • Solid-State Storage: *Non-volatile.* Stores data electronically in semiconductor memory cells. No moving parts, making them faster and more durable than magnetic storage.
    • Solid-State Drives (SSDs): Uses NAND flash memory. Much faster than HDDs. Becoming the standard for laptops and desktops.
    • USB Flash Drives (Thumb Drives): Small, portable solid-state storage devices.
    • Memory Cards (SD Cards, MicroSD Cards, etc.): Used in digital cameras, smartphones, and other portable devices.
    • eMMC (Embedded MultiMediaCard): A type of flash memory commonly used in smartphones, tablets, and other embedded systems.
  • Other Emerging Storage Technologies:
    • 3D NAND Flash: Stacks multiple layers of flash memory cells vertically to increase density and capacity.
    • ReRAM (Resistive Random-Access Memory): A non-volatile memory technology that uses changes in resistance to store data. Promising faster speeds and lower power consumption.
    • MRAM (Magnetoresistive Random-Access Memory): Uses magnetic storage elements. Non-volatile, fast, and low power.
    • PCM (Phase-Change Memory): Stores data by changing the phase of a chalcogenide material (between amorphous and crystalline states). Fast and non-volatile.
    • DNA Storage: Stores data in synthetic DNA strands. Extremely high density, but slow access times and high cost are current limitations.
    • Holographic Storage: Stores data as interference patterns within a holographic material. Potential for very high density and fast transfer rates.

Key Differences and Trade-offs

  • Speed vs. Capacity: Faster memory (like RAM and SSDs) tends to be more expensive and have lower capacity compared to slower storage (like HDDs and tape).
  • Volatility vs. Persistence: RAM is volatile (loses data when power is off), while secondary storage (HDDs, SSDs, optical discs, etc.) is non-volatile (retains data).
  • Cost: The cost per gigabyte varies greatly between different types of memory and storage.

 

The material below from Alex Yu is a great resource that is very easy to understand.
 

Types of Memory and Storage


 



Tags: CPU Caches Computer Memory Computer Storage DDR SDRAM DDR4 DRAM EEPROM EPROM GDDR SDRAM PROM RAM ROM SDRAM SRAM Share on Facebook Share on X

◀ PREVIOUS
How to access websites blocked by ESNI and ECH settings with Firefox!

▶ NEXT
Common Naming Format in Software Development

  Comments 0
SIMILAR POSTS

The Magic of High School Prom aka Promnade Dance

(updated at )


OTHER POSTS IN THE SAME CATEGORY

Harness vs. OpenClaw: Two Very Different "Agents"

(updated at )

What is Docker? Why is Docker also useful in a development environment?

(created at )

Open-Source LLMs: The AI Revolution

(updated at )

Open Databases for Sex Crime Occurrences in the U.S.

(updated at )

Automatically copy text to the clipboard when dragging the mouse in the Cursor

(updated at )

The Future of Software Engineer - AI Engineering

(updated at )

Why ROLLBACK is useful when you work with Google Gemini CLI?

(created at )

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

(created at )

Common Naming Format in Software Development

(created at )

How to access websites blocked by ESNI and ECH settings with Firefox!

(updated at )

Block unwanted URLs for comfortable web browsing with Chrome Addon - URL Blocker

(updated at )

Modern Web Indexing Technology - IndexNow

(updated at )

Key Differences in Gen Z/Alpha/Zalpha based on Upbringing and Life Experiences

(updated at )

Zalpha: A Global Trend, Not Just a Distant Concept

(updated at )

Zalpha Generation: A New Term for the Children of Gen Z and Millennials

(updated at )

The Generation Corona (+ Gen Z) is grappling with how to communicate and live alongside Gen Alpha

(updated at )

Starship, Super Heavy, Successful Ground Landing

(updated at )

Difference in HEAD and GET for HTTP Request - why HEAD Request could be used for DDoS Attack?

(updated at )

Understanding the Key Differences Between GIS and LBS: Purpose, Technology, and Applications

(updated at )

The Evolution and Applications of Geographic Information Systems: From Thematic Mapping to Efficient Data Analysis and Management

(created at )

Japan's Current Status on Generative AI and Copyright: A Summary of Developments, Current Situation, and Key Issues

(updated at )

Quantum computer and qubit generation method

(updated at )

Why Two Path Authentication is Essential - My Microsoft Account is Gone!

(updated at )

The UN Pushes for Global AI Standards

(created at )

UPDATES

Harness vs. OpenClaw: Two Very Different "Agents"

(updated at )

Clean Python Environments: The Power of venv vs. Docker

(updated at )

What is Docker? Why is Docker also useful in a development environment?

(created at )

UIUC 2026-2027 Academic Calendar

(updated at )

How to Build Llama 3 AI Apps with Python: Setup & User Prompts

(updated at )

Open-Source LLMs: The AI Revolution

(updated at )

Resume 2.0: Leveling Up for My First Software Gig

(created at )

Not everyone will understand what this man just did

(created at )

UIUC Dorm Guide: Find Your Perfect Fit !!

(updated at )

Unpacking IU's Shopper

(created at )

Jackie Chan's Police Story: The Action Masterpiece

(updated at )

The IVE Story: Identity, 'I AM' Charts, and Influence

(updated at )

Tech Visionaries who graduated at UIUC - You are the Next Turn

(updated at )

Open Databases for Sex Crime Occurrences in the U.S.

(updated at )

Automatically copy text to the clipboard when dragging the mouse in the Cursor

(updated at )

My First Day at University of Illinois-Urvana Champaign

(updated at )

Sand, Sea, and a Splash of Fun at Newport Beach: A Family Adventure

(updated at )

Sun, Rocks, and Adventure: A Day at Joshua Tree National Park

(updated at )

Sipping the Stars: My Starbucks Adventure

(updated at )

Exciting explore at Sequoia National Park

(updated at )

My Life Shot at Death Valley

(updated at )

Ip Man fights with Muay Thai Master

(created at )

Mad Clown - Don't Die

(created at )

How to get Student Enrollment and Degree Verification at UIUC

(updated at )

LAX Thanksgiving Rush: A Joyful Reunion

(updated at )

ZO ZAZZ(조째즈) - Don`t you know (모르시나요) (PROD.ROCOBERRY)

(updated at )

FISHINGIRLS Unleashes Energetic EP 'Funiverse' Featuring Signature Track 'Fishing King'

(updated at )

10CM - To Reach You (너에게 닿기를)

(updated at )

Feeling weak? Transform yourself at the UIUC ARC!

(updated at )

BOYNEXTDOOR - If I Say I Love You

(updated at )

The Future of Software Engineer - AI Engineering

(updated at )

G Dragon x Taeyang (Eyes Nose Lips, Power, Home Sweet Home, GOOD BOY) - LE GALA PIÈCES JAUNES 2025

(updated at )

Lie - Legend song by BIGBANG

(updated at )

Why ROLLBACK is useful when you work with Google Gemini CLI?

(created at )

Reimbursement after Vaccination at McKinley Health Center

(created at )

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

(created at )

Common Questions from UIUC school life in terms of CS Program

(created at )

UIUC Immunization Compliance

(created at )

LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...

(created at )

LEE CHANHYUK - Endangered Love (멸종위기사랑)

(created at )

Cupid (OT4/Twin Ver.) - LIVE IN STUDIO | FIFTY FIFTY (피프티피프티)

(created at )

Common methods to improve coding skills

(created at )

US National Holiday in 2026

(created at )

BABYMONSTER “WE GO UP” Band LIVE [it's Live] K-POP live music show

(created at )

BLACKPINK - ‘Shut Down’ Live at Coachella 2023

(created at )

JENNIE - like JENNIE - One of Hot K-POP in 2025

(created at )

BABYMONSTER(베이비몬스터) - DRIP + HOT SOURCE + SHEESH

(created at )

Common Naming Format in Software Development

(created at )

In a life where I don't want to spill even a single sip of champagne - LEE CHANHYUK - Panorama(파노라마)

(created at )

Countries with more males and females - what about UIUC?

(created at )