Advanced Topic 44 of 51 Computer Architecture & Logic
Storage Devices
HDDs and SSDs and how they persist data.
How it works
Storage devices hold data persistently. Hard disk drives store bits magnetically on spinning platters read by moving heads, giving large capacity at low cost but millisecond seek times. Solid-state drives use NAND flash with no moving parts, achieving microsecond latency and high throughput, but cells wear out after limited write cycles and are managed by a controller with wear leveling. Interfaces include SATA, SAS and NVMe over PCIe.
Step-by-step walkthrough
- An HDD moves a head over a spinning platter, seeks take milliseconds.
- An SSD stores bits as charge in flash cells with no moving parts.
- Data is read in pages and erased in large blocks.
- The controller maps logical addresses to flash and wears evenly.
- Both connect to the host over SATA or NVMe.
Where it is used
Operating systems, databases, backups, media libraries and cloud object stores rely on storage. Tiering combines fast and slow devices by access pattern.
Common pitfall
Sequential access is far faster than random on hard disks. SSD write amplification and garbage collection cause performance variation and wear. Data in volatile memory is lost on power failure unless flushed, so durability requires fsync and awareness of drive caches. Plan for drive failures with backups and redundancy.
Where it fits in the course
Storage Devices is topic 44 of 51 in Computer Architecture & Logic, rated Advanced. It follows Bus Architecture. The next topic is RAID.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Computer Architecture & Logic quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Computer Architecture & Logic quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Storage Devices?
Where do people use Storage Devices?
What is the most common mistake with Storage Devices?
What should I learn before this topic?
How can I practice it?
Is Storage Devices hard to learn?
How long does it take to learn Storage Devices?
Which topics are related to Storage Devices?
What should I study after Storage Devices?
Related topics
- Bus Architecture (Computer Architecture & Logic)
- RAID (Computer Architecture & Logic)
- Interrupts (Computer Architecture & Logic)
- Memory Consistency Models (Computer Architecture & Logic)
- Mobile Storage (Mobile, Embedded & IoT)
- Object Storage (Distributed Systems & Cloud)
- Local Storage and Cookies (Web Development)