Types of Memory and Storage

JK JK 2038 
Created at
Updated at  
7,595 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 Facebook X
Comments 0
Similar posts
  1. The Magic of High School Prom aka Promnade Dance
    7,537
  1. The Complete Guide to Golang: History, Features, Real-World Uses, and Code Examples
    1,420
  2. Bootstrap vs. Tailwind CSS: Origins, Features, Pros & Cons, and How to Choose the Right Framework
    430
  3. Telemetry vs. Analytics: Understanding the Difference and Why It Matters
    577
  4. The Evolution and Production Reality of Agentic AI
    462
  5. Complete Guide to Building a Machine Learning Model
    606
  6. The Cybercab Transformation: From Autonomous Taxi to Mobile Base Station
    610
  7. Harness vs. OpenClaw: Two Very Different "Agents"
    1,390
  8. What is Docker? Why is Docker also useful in a development environment?
    842
  9. Open-Source LLMs: The AI Revolution
    1,011
  10. Open Databases for Sex Crime Occurrences in the U.S.
    1,010
  11. Automatically copy text to the clipboard when dragging the mouse in the Cursor
    3,497
  12. The Future of Software Engineer - AI Engineering
    1,131
  13. Why ROLLBACK is useful when you work with Google Gemini CLI?
    1,127
  14. Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!
    1,181
  15. Common Naming Format in Software Development
    3,078
  16. How to access websites blocked by ESNI and ECH settings with Firefox!
    11,032
  17. Block unwanted URLs for comfortable web browsing with Chrome Addon - URL Blocker
    7,806
  18. Modern Web Indexing Technology - IndexNow
    7,555
  19. Key Differences in Gen Z/Alpha/Zalpha based on Upbringing and Life Experiences
    8,392
  20. Zalpha: A Global Trend, Not Just a Distant Concept
    8,004
  21. Zalpha Generation: A New Term for the Children of Gen Z and Millennials
    7,949
  22. The Generation Corona (+ Gen Z) is grappling with how to communicate and live alongside Gen Alpha
    8,325
  23. Starship, Super Heavy, Successful Ground Landing
    7,818
  24. Difference in HEAD and GET for HTTP Request - why HEAD Request could be used for DDoS Attack?
    11,263
  25. Understanding the Key Differences Between GIS and LBS: Purpose, Technology, and Applications
    7,436
  26. The Evolution and Applications of Geographic Information Systems: From Thematic Mapping to Efficient Data Analysis and Management
    7,331
  27. Japan's Current Status on Generative AI and Copyright: A Summary of Developments, Current Situation, and Key Issues
    7,930
  28. Quantum computer and qubit generation method
    7,451
  29. Why Two Path Authentication is Essential - My Microsoft Account is Gone!
    8,815
  30. The UN Pushes for Global AI Standards
    7,368
Recently updated
  1. Comprehensive Guide to Recent Critical PHP Vulnerabilities
    1,052
  2. How to Check Your UIUC Graduation Progress Using DARS Audit
    922
  3. Michael Jackson's Billie Jean
    437
  4. Meet A2O Lite: Korea's Newest K-Pop Cuties with Addictively Catchy Melodies
    417
  5. Why You Can't Stop Watching Jack Bryan's Beatbox Gaming Shorts
    363
  6. Song So-hee: The Soulful Voice Touching Hearts Through Korean Music
    402
  7. Watch This Dazzling Dancer’s Mind-Blowing Moves
    399
  8. How to Activate or Waive Your UIUC Student Health Insurance
    594
  9. My life cuts at Las Vegas during Thanksgiving day holiday
    7,651
  10. Clean Python Environments: The Power of venv vs. Docker
    1,132
  11. UIUC 2026-2027 Academic Calendar
    2,092
  12. How to Build Llama 3 AI Apps with Python: Setup & User Prompts
    1,110
  13. Resume 2.0: Leveling Up for My First Software Gig
    3,087
  14. Not everyone will understand what this man just did
    2,539
  15. UIUC Dorm Guide: Find Your Perfect Fit !!
    1,903
  16. Unpacking IU's Shopper
    1,003
  17. Jackie Chan's Police Story: The Action Masterpiece
    896
  18. The IVE Story: Identity, 'I AM' Charts, and Influence
    1,250
  19. Tech Visionaries who graduated at UIUC - You are the Next Turn
    1,420
  20. My First Day at University of Illinois-Urvana Champaign
    1,405
  21. Sand, Sea, and a Splash of Fun at Newport Beach: A Family Adventure
    8,459
  22. Sun, Rocks, and Adventure: A Day at Joshua Tree National Park
    8,524
  23. Sipping the Stars: My Starbucks Adventure
    10,233
  24. Exciting explore at Sequoia National Park
    7,889
  25. My Life Shot at Death Valley
    2,107
  26. Ip Man fights with Muay Thai Master
    1,168
  27. Mad Clown - Don't Die
    1,283
  28. How to get Student Enrollment and Degree Verification at UIUC
    6,029
  29. LAX Thanksgiving Rush: A Joyful Reunion
    1,118
  30. ZO ZAZZ(조째즈) - Don`t you know (모르시나요) (PROD.ROCOBERRY)
    1,389
  31. FISHINGIRLS Unleashes Energetic EP 'Funiverse' Featuring Signature Track 'Fishing King'
    1,172
  32. 10CM - To Reach You (너에게 닿기를)
    1,358
  33. Feeling weak? Transform yourself at the UIUC ARC!
    1,771
  34. BOYNEXTDOOR - If I Say I Love You
    1,414
  35. G Dragon x Taeyang (Eyes Nose Lips, Power, Home Sweet Home, GOOD BOY) - LE GALA PIÈCES JAUNES 2025
    1,139
  36. Lie - Legend song by BIGBANG
    8,037
  37. Reimbursement after Vaccination at McKinley Health Center
    1,254
  38. Common Questions from UIUC school life in terms of CS Program
    1,365
  39. UIUC Immunization Compliance
    1,457
  40. LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...
    1,293
  41. LEE CHANHYUK - Endangered Love (멸종위기사랑)
    1,324
  42. Cupid (OT4/Twin Ver.) - LIVE IN STUDIO | FIFTY FIFTY (피프티피프티)
    1,128
  43. Common methods to improve coding skills
    1,174
  44. US National Holiday in 2026
    1,115
  45. BABYMONSTER “WE GO UP” Band LIVE [it's Live] K-POP live music show
    1,238
  46. BLACKPINK - ‘Shut Down’ Live at Coachella 2023
    1,087
  47. JENNIE - like JENNIE - One of Hot K-POP in 2025
    1,238
  48. BABYMONSTER(베이비몬스터) - DRIP + HOT SOURCE + SHEESH
    1,208
  49. In a life where I don't want to spill even a single sip of champagne - LEE CHANHYUK - Panorama(파노라마)
    1,194
  50. Countries with more males and females - what about UIUC?
    3,240