πΎ Hardware Basics
Understand the physical components that power computers and servers β RAM, storage, CPUs and more.
π§ Memory & Storage
Q1What is RAM and what does it do?BeginnerβΌ
RAM (Random Access Memory) is your computer's short-term memory. It temporarily stores data that the CPU is actively using β running programs, open browser tabs, files being edited.
RAM is extremely fast but volatile β all data is lost when the power is off. It's measured in gigabytes (GB).
- 4GB β basic tasks, light browsing
- 8GB β comfortable for everyday use
- 16GB β good for developers, gaming
- 32GB+ β video editing, VMs, heavy workloads
π‘ More RAM lets you run more programs simultaneously without slowdown. But RAM is not storage β files are not saved in RAM.
Q2What is the difference between SSD and HDD?BeginnerβΌ
Both are storage devices (where files are permanently saved), but they work very differently:
- HDD (Hard Disk Drive) β Uses spinning magnetic platters. Cheaper per GB, larger capacities available. Slower (100β150 MB/s read). Moving parts = can fail from drops.
- SSD (Solid State Drive) β Uses flash memory chips (no moving parts). Much faster (500β7000 MB/s). More expensive. More durable. Uses less power.
π‘ SSDs make a dramatic difference to boot times and overall system responsiveness. If you can only upgrade one thing on an old computer, make it an SSD. Web servers with SSDs serve pages significantly faster.
Q3What does a CPU do?BeginnerβΌ
The CPU (Central Processing Unit) is the brain of the computer. It executes instructions from programs β performing calculations, logic operations, controlling other hardware components.
Key CPU specs:
- Cores β More cores = more tasks in parallel (e.g. quad-core = 4 simultaneous tasks)
- Clock speed β GHz rating = how many cycles per second (higher = faster per core)
- Cache β Tiny ultra-fast memory built into the CPU for frequently accessed data
β οΈ For a web server hosting static files, CPU is rarely the bottleneck. Network speed and disk I/O matter more. CPU matters most for dynamic content generation.