A comprehensive technical reference covering internal structure, tradeoffs, and architecture decision guides for the three fundamental storage paradigms.
Hierarchical filesystem abstraction. Organizes data as files inside a tree of directories/folders — the most familiar model to humans. Used by NAS, NFS, SMB/CIFS, and local OS filesystems.
Flat namespace of data objects. Each object = data payload + rich, custom metadata + unique key. No hierarchy — everything lives in a bucket. Purpose-built for massive scale, durability, and HTTP access.
Low-level raw storage volumes split into fixed-size blocks. No intrinsic structure — a filesystem, database, or OS is layered on top. The closest abstraction to physical hard drives; delivers highest performance.
| Dimension | 🗂 File Storage | 🪣 Object Storage | 🧱 Block Storage |
|---|---|---|---|
| Data Unit | File in directory tree | Object with metadata + key | Fixed-size block (512B–4KB) |
| Access Method | open() / POSIX path |
HTTP REST (GET/PUT/DELETE) | LBA address via iSCSI/NVMe |
| Hierarchy | Tree of directories | Flat (prefix-simulated) | None (raw blocks) |
| Mutability | In-place edit | Full overwrite | Random write |
| Scalability | Medium | Unlimited | Per-instance |
| Latency | Low–Medium (ms) | Medium–High (ms) | Ultra-low (µs) |
| Throughput | (parallel) | ||
| IOPS | Moderate | Low | Extreme (100K+) |
| Cost / GB | Medium | Very Low | High |
| Durability | RAID-dependent | 11 nines | Replication |
| Multi-host Access | Yes (NFS/SMB) | Yes (HTTP) | No (single attach) |
| Metadata | POSIX only (owner, perms, timestamps) | Unlimited custom key-value pairs | None (storage-level) |
| Versioning | Manual / FS-level | Built-in | Snapshots |
| Global Access | Network-limited | Global (HTTP/CDN) | Region-locked |
| Consistency Model | Strong (POSIX) | Strong (S3 2020+) / Eventual | Strong (per-volume) |
| Encryption | At rest / LUKS | SSE, CSE built-in | At-rest encryption |
| Best For | Shared workloads | Web/cloud scale | Databases/VMs |
A typical 3-tier web app serving millions of users with media uploads, user data, and a relational database.
Training pipelines, feature stores, and model registries at petabyte scale with multiple compute workers.
Stateful microservices on K8s with PersistentVolumes, sidecars, and operator-managed databases.
On-premise enterprise with shared drives, legal archives, and ERP/database systems.
Video ingestion, transcoding pipeline, and global streaming with petabytes of content.
Ultra-low latency transaction processing, compliance archival, and real-time analytics.
Think of it as a shared filing cabinet. Best when people or legacy apps need to browse and edit files in a familiar folder hierarchy. Simple, intuitive, but limited in scale.
Think of it as a massive flat warehouse with infinite shelving. Perfect for cloud-native apps, data lakes, and anything that needs to be globally accessible at massive scale.
Think of it as a raw hard drive in the cloud. Essential for databases and VMs that demand the lowest possible latency and highest IOPS — no abstractions in the way.