
This is Part 2 of a two-part series on the Amazon S3 object index. Part 1 covered the mechanism: S3 partitions the index by key prefix in UTF-8 binary order, which is what makes a sequential prefix hot. This part covers S3 prefix limits and what AWS told customers to do about them: the salted-prefix era, the 2018 change that retired the advice, the November 2026 read-rate increase and the hash prefix that came back with it, and the 2020 consistency change usually described as an index rebuild. It closes with six widely repeated claims checked against the sources.
Between 2012 and 2018, AWS published explicit guidance to randomize object key prefixes, first in a 2012 engineering post and then in the Developer Guide. The recipe was concrete, the advice was documented, and it was retired in July 2018. What replaced it is narrower than the retelling suggests, the mechanism behind it was not new, and by December 2026 the user guide again recommends a hash prefix for high-rate workloads.
The one-line version: AWS did recommend salting prefixes, with an MD5 hash and three or four hex characters, and retired that advice in 2018. Automatic partition splitting was already documented in 2012. The 2018 change raised the guaranteed rate to 3,500 write and 5,500 read requests per second per prefix. On 20 November 2026 AWS doubled the read floor to 11,000 GET/HEAD requests per second per partitioned prefix, and the user guide now recommends adding one character from a hash of the key name to the start of each key for workloads above the floor. The December 2020 consistency change was a fix in the metadata cache in front of the index, not an index rebuild.
What was the S3 salted prefix advice?
The salted prefix advice was AWS guidance to prepend a short hash to object key names so that keys sharing a logical prefix stop being adjacent in the ordered index. The 2012 post offered two recipes: reverse the digits of an ascending identifier, using “seconds of precision for date or time-based identifiers,” or prepend a short hash of the key name.
The 2017 Developer Guide turned the second recipe into a documented procedure: compute an MD5 hash of the key name, pick a number of characters from it, prepend them. The guidance on length was a recommendation, not a rule: “A hashed prefix of three or four characters should be sufficient. We strongly recommend using a hexadecimal hash as the prefix.” The 2012 post had said “two or three prefix characters in your hash are really all you need,” and justified it with arithmetic. At “conservative targets of 100 operations per second and 20 million stored objects per partition,” a four-character hex prefix set could in theory support millions of operations per second and more than a trillion unique keys before a fifth character was needed.
So the popular version, that you had to salt the first three characters of the prefix, is a compression of two AWS documents that disagree on the count. Two or three characters in 2012, three or four in 2017, both phrased as “should be sufficient.” No AWS source states a mandatory three-character salt.
Why a prefix hash worked on the S3 ordered index
A prefix hash worked because prepending characters changes where a key sits in a sorted structure. Amazon S3 maps keys by ordered range partitioning over the bucketname/keyname string, so a hash prefix does not move a key into a different hash bucket, because there is no hash bucket to move it into. It relocates the key to a different region of the same sorted index.

The spread comes from hash outputs not sharing a long common prefix, and that framing explains every cost of the technique, because each cost follows from destroying order:
| Cost of salting a prefix | What AWS documented |
|---|---|
| Listing order is destroyed | “Because of the hashed prefixes, however, the listing will appear randomly ordered.” The 2012 post calls lexicographic listing “rather useless” under this scheme. |
| Prefix scans multiply | With a four-character hex prefix, “you will be sending 65536 List Bucket requests” to find the keys for one date. The 2012 answer is to issue them in parallel, one per unique hash character. |
| The application carries the scheme | Producer and consumer have to agree on a prefix that means nothing to the business logic, and every reader needs matching fan-out logic. |
When did the S3 salting advice apply?
AWS published the S3 salting thresholds as advisory triggers, and they defined the workload where salting applied. The 2017 Developer Guide scoped itself in its first sentence: if your workload “routinely exceeds 100 PUT/LIST/DELETE requests per second or more than 300 GET requests per second,” follow the guidelines, and below that you do not need them.
The 2012 post is blunter: under 50 total requests per second, “none of the below applies, no matter how many total objects one has.”
Above those lines the guidance escalated in tiers. A rapid rise past 300 PUT-class or 800 GET-class requests per second was the point at which AWS recommended opening a support case, and for very large workloads, described as more than 2,000 requests per second or buckets holding billions of objects, AWS reserved the right to use more characters in the partitioning scheme. The symptom of exceeding a partition’s budget was 503 Slow Down with error code SlowDown, mitigated by exponential backoff with jitter. Those figures are the closest thing AWS ever published to a per-partition budget, and they read best as design-review triggers rather than as an objective.
S3 automatic partition splitting dates from 2012
Amazon S3 automatic partitioning was documented in 2012, six years before the 2018 change everyone attributes it to. The 2012 AWS post describes automation that continuously looks for areas of the keyspace that need splitting, and states that partitions split either because of sustained high request rates or because they hold a large number of keys.
It adds that the operation “happens dozens of times a day all over S3 and simply goes unnoticed from a user performance perspective,” and that S3 already had an algorithm which detected a parallel write pattern and created multiple child partitions from the same parent at once.
The 2017 Developer Guide repeats the promise on the same page that carries the MD5 recipe: “If your request rate grows steadily, Amazon S3 automatically partitions your buckets as needed to support higher request rates.” The mechanism predates 2018 by at least five years, and that is the most useful correction in the series. If automatic splitting already existed, salting was never the mechanism that made S3 scale. It kept a workload inside the capacity of the partitions S3 had already created, until S3 could create more.
What changed in 2018: 3,500 writes and 5,500 reads per prefix
The July 2018 announcement raised a guaranteed floor and retired the salting advice. S3 now supported “at least 3,500 requests per second to add data and 5,500 requests per second to retrieve data,” per prefix, with “no limits to the number of prefixes,” and the change “removes any previous guidance to randomize object prefixes to achieve faster performance.”
The 2019 whitepaper restated the retirement in customer terms: “You no longer have to randomize prefix naming for performance, and can use sequential date-based naming for your prefixes.” Read the scoping of that sentence carefully, because it is where the retelling goes wrong. The change is described as a performance change, and it cannot be the origin of automatic partitioning, which the 2012 post already documents. What 2018 changed is narrow: the published per-prefix figures went from 100 PUT-class and 300 GET-class requests per second, the level at which the old guidance started to apply, to a guaranteed 3,500 and 5,500, and manual salting moved from required practice to optional mitigation for extreme rates. What customers bought was headroom, enough that a low-entropy naming scheme stopped being a practical risk for most workloads.

What are the S3 prefix limits in 2026?
Since 20 November 2026, Amazon S3 supports at least 3,500 PUT/COPY/POST/DELETE and 11,000 GET/HEAD requests per second per partitioned prefix in general purpose buckets. AWS doubled the read figure from 5,500 that day, in every region, with no application change and no extra charge. The write figure has not moved since 2018, and there is still no limit on the number of prefixes.
The same update gave the unit a name. The S3 user guide now defines a partition as a unit of resource that S3 attaches to a prefix to serve higher request rates, and a partitioned prefix as a prefix whose keys S3 has assigned to their own partition as traffic to those keys grows. It also states that S3 does not treat the forward slash as a special character, so folder-like paths do not by themselves raise the request rate.
Scaling above the floor is automatic and gradual. The guide says S3 “automatically scales to accommodate higher request rates, but this scaling happens gradually,” and that you may receive HTTP 503 Slow Down responses until it completes. A prefix that previously received little or no traffic can return 503 responses when a high request rate arrives on it suddenly.
The residual risk is framed at the key level as well as the prefix level, which is a shift from the 2017 guidance. The design patterns page warns that if an application “generates high request rates (typically sustained rates of over 5,000 requests per second to a small number of objects), it might receive HTTP 503 slowdown responses.” That is the single-hot-object case, and it is documented as a warning rather than as a fix: no source reviewed here says how one key’s index entry is handled, or whether it can be spread at all.
Above the floor, AWS recommends distributing requests across multiple prefixes, implementing exponential backoff for 503 responses, monitoring request and error rates with Amazon CloudWatch, ramping up gradually rather than jumping to peak, and using multiple connections.
The hash prefix is back in the 2026 S3 user guide
Hash prefixes are back in the Amazon S3 user guide as the recommended key pattern for workloads above the per-prefix floor. The current design patterns page tells high-rate workloads to add one character from a hash of the key name to the start of each key, so log-2024-01-01.txt becomes d-log-2024-01-01.txt. That is the 2012 recipe with one hex character instead of two to four.
The reason AWS gives is new. One hex character spreads keys across 16 prefixes and keeps traffic on the same set of prefixes over time, so S3 does not need to re-scale as key names change. The 2012 and 2017 guidance justified salting by spreading load. The 2026 guide justifies it by stability: S3 scales a fixed set of prefixes once and keeps serving them.
The wording changed during November 2026. The user guide as archived on 3 November 2026 recommended “a randomized or sequential prefix pattern,” with the example a1b2/log-2024-01-01.txt. By 1 December 2026 the page carried the single hash character and the 11,000 read figure instead.
AWS pages still disagree on the general rule. The S3 features page, which already quotes the 11,000 figure, says you “do not need to randomize object prefixes” and can use sequential naming. Both hold once you read their scope: the features page describes what one prefix supports, and the user guide describes what to do when a workload needs more than one prefix can serve.
So the practical rule in 2026 is not “salting is dead” and not “salting is required.” Below the floor, key names can follow the business logic. Above it, the documented fix is a stable hash prefix, paid for with ordered listing. Size the prefix set to the request rate the workload needs, not to the largest number of characters that looks safe.
S3 directory buckets drop the ordered namespace
General purpose buckets keep the flat, ordered namespace this series describes, and the newer bucket type documents a different one. Directory buckets, the bucket type behind S3 Express One Zone, “organize data hierarchically into directories as opposed to the flat storage structure of general purpose buckets,” with no prefix limits and directories that “can scale horizontally.”
The API reference draws the contrast in one line: for general purpose buckets, ListObjectsV2 “returns objects in lexicographical order based on their key names,” while for directory buckets it “does not return objects in lexicographical order.”
That is the clearest published signal that the ordering property which caused the hot-prefix problem is a design choice rather than an invariant of object storage. S3 kept ordered listing where it had promised it, and shipped a second bucket type that trades the ordering guarantee for horizontal directory scaling. The performance design patterns page says S3 Express One Zone “can support hundreds of thousands of requests per second.” AWS does not publish how the index differs between the two, so I stop at the namespace contract and do not speculate about the implementation.
2020 strong consistency: a cache fix, not an index rebuild
The December 2020 move to strong read-after-write consistency changed the metadata cache in front of the S3 index, not the index itself, according to the two detailed public accounts: an April 2021 post by Werner Vogels, Amazon’s CTO, and a re:Invent 2025 session by AWS engineers. Index storage was already quorum-replicated across Availability Zones. Stale reads came from front-end cache nodes that had not seen a recent write.
The announcement itself is documented. On 1 December 2020 S3 began delivering strong read-after-write consistency for any storage request, in every region, at no additional cost and without changing performance, availability or regional isolation. After a successful write, “any subsequent read request immediately receives the latest version of the object,” and listings reflect the change immediately. One part of the model did not change: “Bucket configurations have an eventual consistency model.”
The widely repeated explanation is that S3 rebuilt its index to make this possible. In the re:Invent 2025 session Deep dive on Amazon S3, AWS engineers described index storage as already quorum-replicated across Availability Zones, where reads and writes needed only a majority, so overlapping reads and writes could not disagree at that layer. The staleness came from the front-end metadata cache: a write landed on a different cache node than a subsequent read, which then served a stale entry.
The fix described is a coherence protocol. Writes flow through a chain of nodes in a replicated journal, which gives them a total order. A witness service holds an in-memory high-water mark of index writes. Cache entries carry a journal sequence number, and a read asks the witness whether any write arrived after its cached sequence number, re-reading from storage if one did.

Werner Vogels gave the same account in writing in April 2021, in Diving Deep on S3 Consistency. He calls the metadata cache “the primary source of S3’s eventual consistency,” says AWS kept the cache rather than bypass it, and describes a new witness component, “notified every time an object changes,” that acts as a read barrier. He credits replication logic already added to the persistence tier with ordering operations per object.
The S3 User Guide does not describe the journal, the witness or cache stamping, and the sequence-number detail comes from the 2025 session only. Both accounts agree on the point that matters here: the December 2020 work was in the metadata cache path in front of the index, not in index placement.
Amazon’s original S3 patent, US 7,716,180 (priority 2005), is partial support and no more. It says its quorum protocols for keymap reads and writes “may implement a strong consistency model” for keymap entries, which fits an index layer that was not the source of staleness. The same patent also synchronizes separate keymap instances through update propagation and an anti-entropy protocol, which is eventual by design, so it does not settle what S3 ran in 2020.
A later Amazon patent fits the witness account closely. US 11,741,078, filed on 30 September 2021, ten months after the change, describes a “transaction sequence witness service”: a storage node asks the witness for an object’s latest sequence number and reads from persistent storage if its own copy is older. A patent filed after launch matches the public story; it does not prove what shipped.
Six S3 prefix claims checked against the sources
Six claims about S3 prefixes and the S3 index circulate widely enough to appear in conference decks and vendor blogs, and each one can be checked against the documents. Three are contradicted by AWS’s own accounts, two are overstated versions of a real change, and one has no source at all.
| Widely repeated claim | What the sources say | Where it stands |
|---|---|---|
| S3 hashes keys to find the partition | The documented mapping is ordered range partitioning over bucketname/keyname in UTF-8 binary order. Hashing appears only as a customer-side naming technique, and Amazon’s 2005 S3 patent hashes keys only to spread a cache. | Contradicted by the 2012 post and the 2017 guide, which document ordered placement. |
| Automatic partitioning arrived with the 2018 announcement | Documented in 2012, splitting “dozens of times a day,” and repeated in the 2017 guide on the same page as the MD5 recipe. | Contradicted by two AWS sources. |
| You had to salt the first three characters of a prefix | Official advice with an MD5 recipe, phrased “should be sufficient,” and counted as “two or three” in 2012 and “three or four” in 2017. The 2026 user guide uses one hex character. | Half true. The advice was real; the three-character rule never existed. |
| The 2018 change removed the hot-prefix problem | The 2018 note is a performance change that raised a floor. The current guide still warns about 503s during scaling, and since November 2026 recommends a hash-character prefix for high-rate workloads. | Overstated. The floor moved; the mechanism did not disappear. |
| Strong consistency in 2020 required rebuilding the index | Werner Vogels (2021) and a re:Invent 2025 session both describe a metadata cache coherence fix with a witness component; the session adds that index storage was already quorum-replicated. | Contradicted by the 2021 account, which credits a cache coherence protocol built on replication logic already in the persistence tier. |
| S3 splits its index into N shards | No primary source reviewed here describes index sharding at all. In S3’s public material, “shard” means an erasure-coded fragment of object data. | No source. Any specific count is invention. |
The evidence behind the first row, ordered placement over bucketname/keyname, is set out in Part 1. Rows two to five, the salting recipe, the 2018 floor and the 2020 cache fix, are traced source by source in the sections above.
FAQ
What is the S3 request rate limit per prefix in 2026?
Amazon S3 supports at least 3,500 PUT/COPY/POST/DELETE and 11,000 GET/HEAD requests per second per partitioned prefix in general purpose buckets, with no limit on the number of prefixes. AWS raised the read figure from 5,500 on 20 November 2026; the write figure dates from July 2018. Both are floors, not caps: above them S3 scales gradually and may return HTTP 503 Slow Down until scaling completes.
Did I have to salt the first three characters of an S3 prefix?
No, and no AWS document ever said three. The 2012 post suggested “two or three prefix characters in your hash,” the 2017 Developer Guide said “three or four characters should be sufficient,” and both framed it as a recommendation. The requirement was conditional on workload: above roughly 100 PUT-class or 300 GET-class requests per second, with sequential key names. The November 2026 S3 user guide uses a single hex character.
Does S3 still throttle a hot prefix in 2026?
Yes, above the published floor. AWS documents automatic scaling that happens gradually, temporary HTTP 503 Slow Down responses while it completes, and a residual warning for sustained rates over 5,000 requests per second to a small number of objects. The difference from the pre-2018 era is the floor, which since 20 November 2026 is 3,500 PUT-class and 11,000 GET-class requests per second per partitioned prefix.
Should I salt prefixes in a new design?
No, not by default. Design the key scheme around how the data will be read, because prefix listing and range scans depend on that ordering, and treat prefix distribution as a mitigation you apply when a workload exceeds the published per-prefix floor. Current AWS guidance takes the same position: the S3 user guide recommends adding one character from a hash of the key name only in its section for high-request-rate workloads, not as general naming advice.
What should I actually measure before changing key names?
Measure the request rate per prefix and the 503 rate, then find which component saturates: the service for a managed store, or the metadata path and filesystem for a self-hosted one. Changing a key scheme is expensive, since it invalidates every cached path and every reader, so it should follow evidence of a specific saturated component rather than a general worry about hot partitions.
Did S3 rebuild its index for strong consistency in 2020?
No. Werner Vogels, Amazon’s CTO, wrote in April 2021 that the metadata cache was the primary source of S3’s eventual consistency and that AWS kept the cache and added a witness component that tells it when an entry is stale. A re:Invent 2025 session adds that index storage was already quorum-replicated across Availability Zones and that the fix used a replicated write journal and cache stamping.
Sources
- A. H. Vermeulen et al., US 7,716,180 B2, Distributed storage system with web services client interface, Amazon Technologies, Inc.; provisional filed 29 December 2005, application filed 8 March 2006, granted 11 May 2010 (the keymap, prefix-indexed unbalanced tries, keymap partitions among bricks, quorum protocols, the hash-indexed keymap cache). A patent describes possible embodiments; AWS has not stated that S3 implements this one. Figure reference numerals are omitted from quotations.
- W. Vogels, Diving Deep on S3 Consistency, All Things Distributed, 20 April 2021 (the metadata cache as “the primary source of S3’s eventual consistency,” keeping the cache, replication logic that orders operations per object, the witness component as a read barrier).
- V. Narendra et al., US 11,741,078 B1, Witness service for ensuring data consistency in a distributed storage system, Amazon Technologies, Inc.; filed 30 September 2021, granted 29 August 2023 (the transaction sequence witness, partitions by longest matching key prefix, request-rate splits). Related filings of the same date: US 12,032,562 B1, US 11,704,033 B1 and US 11,537,516 B1 (hot-key reads spread across cache nodes). A patent describes possible embodiments; AWS has not stated that S3 implements this one.
- D. Grismore, Amazon S3 Performance Tips & Tricks, AWS News Blog, March 2012 (reversing identifiers, the short-hash trick, listing “rather useless,” the two-or-three-character note, the 100 / 20 million sizing arithmetic, split automation “dozens of times a day,” simultaneous child partitions, the under-50 requests per second scope).
- Amazon S3 Developer Guide, Request Rate and Performance Considerations, snapshot of 5 July 2017 (UTF-8 binary ordering, the key name dictating the partition, the MD5 hex prefix recipe, “three or four characters,” 65,536 List Bucket requests, the 100 / 300 trigger, the 300 / 800 support-case tier, more than 2,000 requests per second, automatic bucket partitioning).
- AWS, Amazon S3 Announces Increased Request Rate Performance, What’s New, 17 July 2018, and the AWS Whitepaper Best Practices Design Patterns: Optimizing Amazon S3 Performance, June 2019, revised 10 March 2021.
- AWS, Amazon S3 increases the read request rate for general purpose buckets by up to 2x, What’s New, 20 November 2026 (at least 11,000 GET/HEAD requests per second per partitioned prefix, up from 5,500, all regions, no application change).
- Amazon S3 User Guide, Best practices design patterns: optimizing Amazon S3 performance (3,500 / 11,000 per partitioned prefix, the definitions of partition and partitioned prefix, the forward slash as an ordinary character, 503 responses on a prefix that previously had little traffic), Performance design patterns for Amazon S3, checked 1 December 2026 (gradual scaling and temporary 503 responses, one hash character at the start of the key, 16 prefixes from a hex hash, sustained rates to a small number of objects, S3 Express One Zone at hundreds of thousands of requests per second), its Wayback Machine snapshot of 3 November 2026 (the 3,500 / 5,500 per-prefix trigger, “a randomized or sequential prefix pattern,” the
a1b2/example) and Performance guidelines for Amazon S3. - AWS, Amazon S3 features, Performance section, checked 1 December 2026 (3,500 / 11,000 per prefix, “do not need to randomize object prefixes”).
- Amazon S3 User Guide, Working with directory buckets (hierarchical directories, no prefix limits, horizontal directory scaling) and What is Amazon S3? (“Bucket configurations have an eventual consistency model”).
- Amazon S3 API Reference, ListObjectsV2 (lexicographical order for general purpose buckets, no lexicographical order for directory buckets).
- AWS, Strong read-after-write consistency for all applications, What’s New, 1 December 2020, and J. Barr, Amazon S3 Update: Strong Read-After-Write Consistency.
- AWS re:Invent 2025, Deep dive on Amazon S3 (STG407), AWS S3 engineers. The single source for the quorum-replicated index storage, the front-end metadata cache as the source of eventual consistency, and the replicated journal, witness high-water mark and cache stamping.
- AWS Storage Blog, How automated reasoning helps Amazon S3 innovate at scale, 20 October 2021 (ShardStore as a validated storage node; “shard” as a fragment of object data).
- M. Brooker, Exponential Backoff and Jitter, AWS Architecture Blog, 4 March 2015; Amazon S3 API Reference, Error Responses (
SlowDown, HTTP 503).
Reviewed against AWS documentation, AWS announcements, the linked recording and the patent text on 13 November 2026. The sections on current limits and the hash prefix were rechecked on 1 December 2026 after the 20 November 2026 read-rate change. Every quoted phrase in this article was checked against the source text in that pass. The December 2020 mechanism rests on a conference session and is labeled as such wherever it appears; where no source answers a question, this article says so instead of inferring an answer. I have no affiliation with any vendor cited here, and none of them reviewed or endorsed this article.
Related posts
- Object storage for data platforms at scale (the guide this series belongs to)
- Part 1: why key order creates hot partitions in Amazon S3
- MinIO on XFS: inode exhaustion and prefix design
- Why file count matters as much as file size
If an old naming convention is still costing you throughput, or you are sizing an object-storage platform and want the request-rate model checked against real workloads, I cover that in MinIO, S3 and object-storage engagements. A wider review is covered by the data infrastructure audit, and a free 15-minute intro call is the fastest way to scope one.
0 Comments