Flash memory stores using cells - the smallest unit of flash storage.

Only Read and Write, no override, remove data in a page unit
Read and write are based on page unit
Delete is done by block unit
β οΈ Key Properties of Flash Memory
"Data cannot be overwritten directly"
"Delete operation works at block level"
"Garbage collection moves valid pages to a new block and erase the old block to free up space"
RAID is a techinique to store a large amount of data efficiently and securely by spliting data and storing them across multiple disks within a single computer
πΉ RAID 0 β Striping
Splits(stripe) data across multiple hard disks without redundancy
Pros: High read/write speed due to parallel access
Cons: No fault tolerance => if one hard disk fails, all data is lost

πΉ RAID 1 β Mirroring
Stores exact copies(replicas) of data on two or more disks.
Pros: high fault tolerance
Cons: need double the space
πΉ RAID 4 β Striping with Dedicated Parity
Data is striped across disks, and a separate disk stores parity bits
Pros: Good fault tolerance without full replications
Cons: The parity disk becomes a bottleneck for writes

πΉ RAID 5 β Distributed Parity
Distributes both data and parity bits across disks

πΉ RAID 6 β Dual Parity
Like RAID5, but stores two parity blocks for each peice of data
Pros: Can recover from two disk failures
Cons: Slow write speed due to extra parity processing
DFS is a file system that stores data across multiple machines (nodes, servers, or storage units), not just multiple disks within one computer.
How it works: Splits large files into chunks, store chunks(and replicas) across different nodes, and read/write operations can be performed in parallel
Pros: High scailability, fast read/write through parallelism, high fault tolerance
Cons: hard to maintain data consistency across nodes. Operations like delete and update require synchronizing all replicas
Both are for storing and reading data efficiently by spliting data or using parity bits.
RAID is a storage system in multiple disks in one computer, but DFS is that data spread across multiple computers