tezvyn:

Object Storage: Data Without a File Hierarchy

AI-drafted, machine-checkedSource: Wikipedia: Object storagebeginner

Object storage is like a valet system for data. You get a unique ID for a self-contained 'blob' of data and metadata, instead of navigating a file path. It's the backbone of cloud storage (like S3) for images and backups. The footgun: objects are immutable.

WHY IT EXISTS Traditional file systems, with their nested folders, struggle at massive scale. Managing the hierarchy and metadata across many machines becomes a bottleneck. Object storage was created to handle vast amounts of unstructured data by flattening the structure and making each object a self-sufficient unit.

THE MENTAL MODEL Imagine a giant, single-level warehouse where every box has a unique barcode. The box contains your item (the data) and a packing slip (the metadata). To get your item, you don't need to know its aisle or shelf number; you just present the barcode (the object ID) at the front desk. This is unlike a file system, which is like a multi-story building with rooms and folders you must navigate through.

HOW IT WORKS Data is stored as an "object" or "blob". Each object consists of three parts: the data itself (e.g., a JPEG file), variable metadata (e.g., image resolution, creation date), and a globally unique identifier. The system uses this ID to locate and retrieve the object from a massive, flat address space that can span many physical servers. The storage system itself manages data replication and distribution for durability and availability, abstracting the physical hardware away from the application.

WHEN TO USE IT Use object storage for write-once, read-many workloads with large, static files. It's ideal for storing user-generated content like images and videos, website assets, backups, archives, and data for big data analytics. Cloud services like Amazon S3, Google Cloud Storage, and Azure Blob Storage are canonical examples.

WHEN NOT TO USE IT Avoid object storage for data that requires frequent, low-latency updates, like a transactional database or the operating system files for a server. Since objects are immutable, changing even one byte requires re-uploading the entire object, which is slow and inefficient for these use cases. Block storage is a better fit for databases and OS volumes.

ONE CANONICAL EXAMPLE A web application lets users upload profile pictures. The application saves the image file to an object storage bucket (like AWS S3). It receives a unique URL/ID for the object, which it then stores in the user's database record. When another user views the profile, the web page simply references that URL to load the image directly from the object store, bypassing the web server.

Read the original → en.wikipedia.org

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.