Object Storage
Updated June 3, 2026Imagine you're at a massive fancy restaurant and you need to park your car.
If you use traditional parking, you drive into a specific lot, go to Level 3, Aisle B, and park in Spot 42. You have to remember the exact path to your car. This is like a traditional File System (think of folders and subfolders).
If you use valet parking, you hand over your keys, and the valet gives you a ticket with a unique ID (like "Ticket #8932"). You don't know or care exactly where the car is parked. When you want your car back, you just hand them the ticket.
That valet system is exactly how Object Storage works.
The Core Concept
Object anatomy — data bytes, metadata, and unique key bundled together
In Object Storage, data isn't organized in a hierarchy of directories and files. Instead, everything exists in a massive, flat namespace (often called a "bucket").
Each piece of data is an object. An object consists of three things:
- The Data itself: The image, video, or text file.
- Metadata: Highly customizable key-value pairs (e.g.,
ContentType: image/jpeg,UploadedBy: User123,Environment: Production). - A Globally Unique Identifier (Key): The "valet ticket" used to retrieve the object.
How is data organized in object storage compared to a traditional file system?
An object in object storage contains only raw data bytes — no additional information is bundled with it.
Why Object Storage Rules the Cloud
Object storage at scale — HTTP PUT/GET, CDN, parallel analytics
When you reach internet scale, traditional file systems break down. Navigating massive directory trees becomes slow, and scaling the file system across hundreds of servers is a nightmare.
Object storage is designed from the ground up for massive scalability, durability, and cheap storage.
Real-World Examples
- Amazon S3 (Simple Storage Service): The granddaddy of them all. If you've used the internet today, you've interacted with S3.
- Netflix: Netflix stores all of its master video files on Amazon S3. They use object storage because it can hold petabytes of data endlessly and handle massive throughput.
- Dropbox: When you upload a file, Dropbox breaks it into blocks, but it ultimately relies heavily on exabytes of object storage on the backend to keep that data safe.
How Do You Talk to It?
Unlike a file system where you use OS commands like open(), read(), or write(), you interact with object storage over HTTP using RESTful APIs.
PUT /bucket-name/movie.mp4(Upload)GET /bucket-name/movie.mp4(Download)
Which of the following best describes how you interact with object storage?
Trade-offs: When Not to Use It
Object storage sounds perfect, but here's the catch: You can't easily modify a piece of an object. If you have a 10GB database file stored in S3 and you want to change one single byte, you usually have to upload the entire 10GB file again.
[!WARNING] Because of this limitation, Object Storage is terrible for databases or systems that require frequent, granular updates. For those, you want Block Storage (like AWS EBS).
Object storage is a good fit for a high-traffic relational database that updates individual records thousands of times per second.
Which of the following workloads is object storage best suited for?
Summary
- Object storage uses a flat structure where data is accessed via a unique ID (key) rather than a directory path.
- Objects bundle data with rich, customizable metadata.
- It's optimized for massive scale, high durability, and "write once, read many" workloads.
- Don't use it for databases or applications requiring frequent in-place updates.
How helpful was this content?
Comments
Sign in to join the discussion
Saved on this device only
Sign in to sync progress across devices