Skip to content
We areTOP 1%

What is the difference between block, file and object storage?

MediumConceptStorage & CDNs
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

They differ in how data is addressed. Block storage exposes raw fixed-size blocks to an operating system, file storage organises data as a hierarchy of files and folders shared over a network, and object storage keeps whole objects with metadata in a flat namespace accessed by key over HTTP.

  • Block (for example, Amazon EBS): low latency and in-place updates; used for database and virtual machine disks, typically attached to one machine.
  • File (NFS, Amazon EFS): shared access with familiar paths and locking; used for shared content and legacy applications.
  • Object (Amazon S3, Google Cloud Storage): practically unlimited scale, high durability and low cost; objects are replaced rather than edited in place.
  • Media, backups and data lakes usually belong in object storage.

More in Storage & CDNs

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account