What:
RAID (Redundant Array of Independent Disks) coordinates multiple physical drives into a single logical volume managed by a hardware or software controller.
Primary purpose:
Protecting physical hosts against hardware hard drive failures and increasing disk read/write throughput concurrency.
Usually used for:
Bare-metal server storage clusters, network-attached storage (NAS) arrays, and database hosts disk pools.
How should I think about this inside system architectures?
📊 Striping (Performance)
RAID 0 splits data files across multiple disks sequentially. This doubles read/write concurrency, but guarantees data loss on single disk crash.
🪞 Mirroring (Redundancy)
RAID 1 duplicates the exact same bytes onto a secondary disk clone. Ideal for zero-latency data resilience.
🧮 XOR Parity (Efficiency)
RAID 5 writes logical mathematical XOR blocks across drives. If one drive fails, the controller recomputes missing bytes on-the-fly.