What Is an Object Store? Flat Keys and Content Addressing
By Edward Grundy, Bay Information Systems. Published . In Architecture & Deployment.
Amazon S3 launched on 14 March 2006 with a one-paragraph announcement, about a petabyte of capacity on roughly 400 storage nodes, a 5GB limit on the size of an object, and an interface of two main operations: PUT an object, GET it back.
By November 2026 it held more than 700 trillion objects.
Much of modern infrastructure keeps its durable data in S3 or in stores that use the same interface, which has almost become a standard.
An object store does less than a filesystem. It has no directories, no way to change part of an object, no rename and no locks. Each of those omissions reduces coordination requirements, which is why object stores spread across clusters and data centres where filesystems struggle.
In this article, we look at what an object store is and what a filesystem coordinates, then look at why flat keys spread. Finally, we also look at content addressing in git, BitTorrent, IPFS and S3, and how content addressing fits well with these global storage systems.
What an object store is
An object store maps keys to objects. A key is a short text string; an object is a larger sequence of bytes with a little metadata. A client writes a whole object at once, reads it whole or by byte range, deletes it, and lists keys in sorted order.
S3’s documentation calls its data model a flat structure: a bucket holds objects.
The slashes in a key such as photos/2026/beach.jpg are characters like any other.
A list request can treat a chosen character as a delimiter and group keys that share a prefix, which lets a console draw directories, but the directories are not represented in the storage.
There is no append, no overwriting of part of an object and no rename; moving an object means copying it to a new key and deleting the old one.
What a filesystem coordinates
A filesystem offers more co-ordination: Directories form a tree, paths are resolved by reading directories, and so on. Creating a file changes its parent directory. Renaming a directory moves everything under it in one atomic step. Any process can change any byte of a file in place, and the process coordinates through locks. The POSIX standard promises that once a write returns, every other process on the machine sees it.
On one machine the kernel keeps all of this consistent in memory, at almost no cost. Across a network, every promise becomes a protocol and most operations become round trips. A shared network filesystem has to coordinate directory updates, locks and caches between clients, and latency falls hardest on the small operations that dominate many workloads (Git at Scale describes what this did to GitLab and Bitbucket).
An object store removes many of these duties. Without directories there is no parent to update and no tree to keep consistent. With whole-object writes, no reader sees a half-written object and nothing needs locking. Without rename, no operation has to move many keys at once.
Flat keys
With no hierarchy, a key is just a string, and a string can be hashed to choose which machines hold it. Ceph’s object layer takes this furthest: clients and storage daemons compute each object’s location from a map of the cluster with an algorithm called CRUSH, with no central table to consult, so neither a lookup service nor a single index limits the cluster’s size. Amazon’s Dynamo paper of 2007 described consistent hashing to the same end. Listing is the operation that is not so easy, since a sorted listing has to visit a range of keys wherever they are stored. Object stores are correspondingly slower at listing than reading.
Consistency arrived later than scale. In earlier implementations S3 was eventually consistent: a read shortly after a write could return the old object, and a listing could miss a new one.
Since December 2020 every GET, PUT and LIST has been strongly consistent.
Conditional writes followed in 2024.
In August S3 accepted an If-None-Match header, which makes a write fail if the key already exists; in November it accepted If-Match, which makes a write fail unless the object’s current tag matches the one the writer read.
Immutable data can be written under new keys without any coordination, and a small pointer can be moved safely with one conditional write. That is enough to build a git host, a transactional table format or a versioned data lake on a bucket alone, and in 2026 several git services and data storage services were built that way (Git for Data covers the data tools).
Naming by content
There are two ways to choose a key. The writer can choose it, as in reports/2026/q3.csv, which names a location: whatever is stored there now.
Or the key can be a content hash of the object.
Content keys remove the last point of coordination. Two writers storing the same bytes choose the same key without consulting each other, so duplicates collapse to one copy. A reader can check what it receives by hashing it, so it can accept data from any source, including one it does not trust. And an object cannot change without changing its key, so every stored object is immutable by construction.
The idea is older than git. Venti, built by Sean Quinlan and Sean Dorward at Bell Labs and described in 2002, stored blocks under the SHA-1 hash of their contents. Its authors noted that a block could not be modified without changing its address, so the store was write-once by nature, and that many clients could share one Venti server without coordinating. Plan 9 used it for daily snapshots of its filesystem. Git applied the same idea to source code three years later, as our git deep dive describes. BitTorrent and IPFS apply it to distribution between strangers.
| Key | Who holds the data | How a copy is found | Mutable names | |
|---|---|---|---|---|
| Git | Hash of each object | Every clone, and any host | Ask a known remote | Refs, one per branch or tag |
| BitTorrent | Hash of the torrent’s metadata, plus a hash per piece | Peers currently in the swarm | Trackers or a distributed hash table | None in the base protocol |
| IPFS | Content identifier: a hash plus codec and version | Any node that has cached or pinned it | A distributed hash table mapping identifiers to providers | IPNS: a public key mapped to a signed pointer |
| S3 | Chosen by the writer | The provider | The provider’s own index | The key itself, overwritten in place |
BitTorrent identifies a torrent by the hash of its metadata, which includes a hash of every piece of the content, so a downloader can accept pieces from any peer and discard any that fail the check. Version 2 of the protocol (BEP 52) moved from SHA-1 to SHA-256 and gave each file its own Merkle tree built from 16KiB blocks.
IPFS cuts content into chunks, names each chunk by a content identifier that carries the hash together with the hash function and encoding used, and links the chunks into a Merkle tree whose root identifier names the whole file. A distributed hash table maps identifiers to the nodes that can supply them. Content stays available only while some node keeps it: each node discards cached data during garbage collection unless it has been pinned, and paid pinning services exist to keep content online.
S3 is the odd one out. It is location-addressed: the writer picks the key, and a later write can put different bytes under the same key. Nothing stops a client from using hashes as keys, though, and many do: DVC remotes, Git LFS servers and backup tools all store content-addressed objects in S3 buckets. For this reason, content addressed object stores can be built ontop of S3
Content-addressed data cannot change. When a system needs a current version it adds a separate, small layer of mutable names.
Content addressing costs
Content addressing is not free.
In a decentralised store, data persists only while someone holds it, which is the purpose of pinning in IPFS; the converse is that once copies exist, deletion cannot be guaranteed.
Reclaiming space requires knowing what is still referenced, so every content-addressed store needs a garbage collector that walks references from its names (git’s gc, IPFS’s garbage collection, restic’s prune).
A hash discloses something too: anyone holding a file can ask whether a store has it, and a host that shares one object store between repositories can serve an object through any of them, as the git hosts’ fork networks show.
Very small objects carry a high overhead each, so mature systems bundle them, into git’s pack files, restic’s packs or Xet’s containers.
Why not local object stores?
Most developers already run several.
A content-addressed store on a local disk is a directory of files named by their hashes, usually fanned out into subdirectories by the first characters of the hash.
Git keeps its objects in .git/objects/ this way, and DVC its cache in .dvc/cache/files/md5/.
The backup tool restic names every file in a repository by the SHA-256 hash of its contents, writes each file once and never modifies it, and as a result lets several clients write to one repository in parallel; only its prune command removes data. Container runtimes keep image layers by digest, as the Docker deep dive shows by unpacking an image.
Running an S3-compatible server is the other sense of the question, and it has good uses: code that must run unchanged against cloud storage and on premises, data shared between several machines or sites, and large immutable files read by many processes. The usual answer for years was MinIO. Its community edition stopped receiving pre-built binaries in October 2025, entered maintenance mode on 3 December 2025 and was archived in February 2026, which leaves teams building it themselves or moving. Garage, from the French non-profit Deuxfleurs, targets small self-hosted clusters spread across sites and replicates each piece of data to three zones. Ceph’s RADOS Gateway puts the S3 interface on a full Ceph cluster. SeaweedFS is a further open-source option.
On a single machine, though, most of the case falls away. The coordination an object store gives up is the coordination a local kernel provides for free, so giving it up buys nothing back, while applications, editors and command-line tools all expect paths, in-place saves and renames. Many small objects stored as individual files also waste space and time: SQLite’s developers measured reads and writes of 10KB blobs running about 35% faster from a database file than from individual files, with about 20% less disk used. A local object store for small objects is often best built as a table with two columns, a key and the bytes.
The deciding questions are how many machines write the data, and whether copies arrive from places that cannot be trusted. One writer on one machine is well served by a filesystem. Several machines, or copies from elsewhere, call for an object store, content-addressed wherever the data allows. For data projects one habit spans both: name raw data by its hash even on a laptop, so that the move to a bucket later changes where the data lives and nothing about how it is named. (For a review of how a project’s data is stored and versioned, get in touch; the data maturity checklist is a quicker start.)
References
Opening
- Sebastien Stormacq, “Twenty years of Amazon S3 and building what’s next”, AWS News Blog, 14 March 2026. https://aws.amazon.com/blogs/aws/twenty-years-of-amazon-s3-and-building-whats-next
- AWS Storage Blog, “AWS named a Leader in IDC MarketScape for public cloud object storage”, November 2026 (700 trillion objects). https://aws.amazon.com/blogs/storage/aws-named-a-leader-in-idc-marketscape-for-public-cloud-object-storage/
What an object store is
- Amazon S3 User Guide, “Naming Amazon S3 objects” (flat data model). https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
- Amazon S3 User Guide, “Organizing objects using prefixes”. https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html
What a filesystem coordinates
- See Git at Scale and its references for the GitLab and Bitbucket accounts of network filesystem latency.
Flat keys
- Sage Weil, Scott Brandt, Ethan Miller and Carlos Maltzahn, “CRUSH: Controlled, Scalable, Decentralized Placement of Replicated Data”, Proceedings of SC ‘06, November 2006. https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
- Giuseppe DeCandia et al., “Dynamo: Amazon’s Highly Available Key-value Store”, SOSP ‘07, October 2007. https://www.allthingsdistributed.com/2007/10/amazons_dynamo.html
- AWS, “Amazon S3 now delivers strong read-after-write consistency automatically for all applications”, 1 December 2020. https://aws.amazon.com/about-aws/whats-new/2020/12/amazon-s3-now-delivers-strong-read-after-write-consistency-automatically-for-all-applications/
- AWS, “Amazon S3 now supports conditional writes”, 20 August 2024. https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes/
- AWS, “Amazon S3 adds new functionality for conditional writes”, 25 November 2024. https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-functionality-conditional-writes/
Naming by content
- Sean Quinlan and Sean Dorward, “Venti: a new approach to archival storage”, FAST 2002. https://www.usenix.org/legacy/events/fast02/quinlan/quinlan_html/
- Bram Cohen et al., “BEP 52: The BitTorrent Protocol Specification v2”. https://www.bittorrent.org/beps/bep_0052.html
- Arvid Norberg, “BitTorrent v2”, libtorrent blog, September 2020. https://blog.libtorrent.org/2020/09/bittorrent-v2/
- IPFS documentation, “Glossary” (CID, garbage collection, pinning, IPNS). https://docs.ipfs.io/concepts/glossary
- Cloudflare documentation, “Interplanetary File System (IPFS)” (CIDs and the distributed hash table). https://developers.cloudflare.com/web3/ipfs-gateway/concepts/ipfs/
- DVC documentation, “Internal Directories and Files”. https://doc.dvc.org/user-guide/project-structure/internal-files
- Git LFS, “Git LFS Specification”. https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md
Content addressing costs
- Konstantin Ryabitsev, “Cross-fork object sharing in git (is not a bug)”, February 2022. https://people.kernel.org/monsieuricon/cross-fork-object-sharing-in-git-is-not-a-bug
- restic documentation, “Design” (repository format, packs and prune). https://restic.readthedocs.io/en/v0.13.1/design.html
Why not local object stores?
- containerd documentation, “Content Flow” (content store keyed by digest). https://containerd.io/docs/2.1/content-flow/
- TuxCare, “MinIO Support After Project Archival” (maintenance mode and archive dates). https://tuxcare.com/blog/minio-els/
- It’s FOSS, “MinIO Is Done With Open Source, What Are Your Options?” (binaries stopped October 2025; second archive April 2026). https://itsfoss.com/news/minio-moves-away-from-open-source/
- Garage project site, Deuxfleurs. https://garagehq.deuxfleurs.fr/
- Ceph documentation, “Ceph Object Gateway”. https://docs.ceph.com/en/latest/radosgw/
- SeaweedFS repository. https://github.com/seaweedfs/seaweedfs
- SQLite, “35% Faster Than The Filesystem”. https://www.sqlite.org/fasterthanfs.html