Adaptive Capacity and Hot Partitions

A Correction on the "Fortnite Incident"

The study plan this guide is built from asks "what caused [a hot partition] in the Fortnite DynamoDB incident?" Worth being direct about this: there is no publicly documented AWS/Epic Games postmortem describing a DynamoDB hot-partition incident specific to Fortnite. Epic Games' DynamoDB usage is real and well-documented (AWS case studies describe Fortnite's telemetry and matchmaking pipelines using DynamoDB at massive scale), but no public incident report ties a Fortnite outage to a DynamoDB hot partition specifically — that detail appears to be a conflation, possibly with Fortnite's well-publicized April 2018 outage (which was a MongoDB account-service failure, not DynamoDB) or with the generic "hot partition" example used repeatedly in Rick Houlihan's re:Invent talks (often illustrated with a gaming leaderboard, which may be where the Fortnite association crept in). Rather than repeat an unverifiable claim, this part explains the real, documented mechanism using AWS's own canonical example, which happens to be a gaming leaderboard — close enough to the spirit of the original question to be useful, without asserting a specific corporate incident that isn't verifiable.

The Evolution: From Hard Failure to Instant Adaptive Capacity

Era Behavior Weakness
2012 launch Table capacity divided evenly and statically across partitions at creation time. A partition receiving more than its fixed share simply throttled, full stop Any traffic skew caused hard throttling regardless of total table headroom
Bursting capacity Unused capacity from a quiet partition is "banked" for up to 300 seconds and can absorb short bursts on that same partition Only helps a partition burst against its own recent idle time — doesn't help a partition that's been consistently busy
Adaptive capacity (2017) DynamoDB monitors per-partition traffic and reactively shifts capacity toward hot partitions, borrowing from the table's overall provisioned throughput Reaction time was 5–30 minutes — a sudden spike could throttle for a long time before the system caught up
Instant adaptive capacity (May 2019) Same idea, but reacting in near real time instead of on a 5–30 minute cycle. On by default for all tables and GSIs Still bounded by the hard per-partition ceiling below — this is a reaction speed improvement, not a ceiling improvement
Split for heat Auto Admin (see Partitioning and Request Routing) proactively splits a sustained-hot partition's key range, even below the 10 GB size threshold, to give it more leaders to spread across Only helps if the heat is spread across multiple key values — see the throughput-dilution trap in the Partitioning and Request Routing part

A Worked Burst-Capacity Example

Before adaptive capacity reacts at all, a provisioned-mode partition can absorb a short burst using its own recently unused capacity — a distinct, older mechanism worth being able to compute through:

Partition allocated: 100 WCU (its even share of table-level provisioned throughput)
Partition's actual recent usage: 20 WCU/sec, sustained for the last 4 minutes

Banked burst capacity = unused capacity, accumulated for up to 300 seconds:
  (100 - 20) WCU/sec × up to 300 sec = up to 24,000 WCU-seconds banked
  (in practice capped and consumed quickly, not literally unlimited accumulation)

A sudden spike to 300 WCU/sec on this partition:
  First few seconds: absorbed by banked burst capacity, NO throttling
  Once burst capacity is exhausted: partition is still capped at its
    100 WCU/sec base allocation UNTIL adaptive capacity (now instant,
    Section 4) reacts and raises the partition's effective share —
    but even after reacting, the absolute ceiling is still 1,000 WCU/sec,
    not the 300 WCU/sec this example's spike needed... which in this
    example would in fact succeed, but a spike to 1,500 WCU/sec never
    would, at any adaptive-capacity generation, because it exceeds the
    hard per-partition physical ceiling.

This is why burst capacity, adaptive capacity, and the hard ceiling are three genuinely different mechanisms operating on three different timescales — burst capacity smooths sub-5-minute spikes from a partition's own idle history, adaptive capacity reallocates the table's aggregate budget across partitions in near-real-time, and the hard ceiling is a physical property neither can touch.

The Ceiling That Never Moved

Regardless of which era of adaptive capacity is active, a single partition is hard-capped at 3,000 RCU or 1,000 WCU. This number is not something table-level provisioned throughput or on-demand mode can raise for one partition — it is a physical characteristic of what one replication group (see Storage Engine and Replication) can sustain while preserving the latency SLA. Adaptive capacity can shift the table's aggregate budget toward a hot partition faster than it used to, and split-for-heat can create more partitions to spread load across — but neither mechanism can make one single partition key (one specific hash value, therefore one specific partition, therefore one specific leader replica) exceed that ceiling. A partition key is atomic — it cannot itself be split.

The Realistic Failure Mode: A Global Leaderboard Key

Table: GameLeaderboards
PK: leaderboard_id      SK: score_rank

Naive design:
  PK = "GLOBAL"   ◄── every single player's score update writes to
                       this ONE partition key, regardless of how many
                       millions of players there are

Result:
  Every write for every player on Earth hashes to the same partition.
  Table-level provisioned capacity: 500,000 WCU. Actual ceiling on
  this one partition: 1,000 WCU. Throttling begins at 0.2% of the
  table's nominal capacity, and dashboards showing "table consumed
  capacity: 4% of provisioned" give zero indication why.

The Fix: Write Sharding

Since a partition key can't be split by DynamoDB, the fix has to happen at the application layer: artificially increase the cardinality of the hot key by appending a calculated or random suffix, spreading what was one logical key across N physical partition keys.

Before (hot):
  PK = "GLOBAL"

After (sharded across 20 physical partitions):
  PK = "GLOBAL#" + (hash(player_id) % 20)     e.g. "GLOBAL#7", "GLOBAL#13", ...

Write path:  compute shard suffix from something about the write
             (player_id, random int, time bucket — whatever gives
             even spread), write to that specific shard.

Read path:   to answer "what's the global leaderboard," issue N
             parallel Query calls (one per shard, 0..19) and merge
             client-side (e.g., a k-way merge for a top-K leaderboard,
             or read into a smaller pre-aggregated rollup table
             updated asynchronously via Streams — Section 5).

This trades read-side simplicity (one query becomes N queries plus a merge) for write-side scalability (one overloaded partition becomes N partitions, each under the 1,000 WCU ceiling). This exact pattern — and the underlying reasoning — is the centerpiece of Rick Houlihan's re:Invent "advanced design patterns" talks, and it is the single most-tested hot-partition remediation in AWS's own documentation and solutions-architect guidance.

A Second Failure Shape: Hot Reads, Not Hot Writes

Everything above frames the ceiling in terms of writes (a viral leaderboard key being updated by many players), but the identical mechanism throttles read-hot single items just as hard — a celebrity's profile fetched by millions of followers, a single product page during a flash sale, a config/feature-flag item polled by every instance of a large fleet. The 3,000 RCU ceiling applies exactly the same way, and write sharding doesn't naturally fit a read-hot single item (there's nothing to shard the write of — the item barely changes, it's just read constantly). The standard remediation here is different: put DAX (see What Is DynamoDB) or an application-level cache (ElastiCache/Redis) in front of the hot item so the overwhelming majority of reads never reach DynamoDB at all, letting a handful of periodic cache-refresh reads absorb the actual DynamoDB traffic. This is the read-hot counterpart to write sharding — different mechanism, same root cause (one partition key, one physical partition, one hard ceiling).

The Invariants

  • Guaranteed: adaptive capacity (instant, since 2019) will shift capacity toward a hot partition faster than the table's static allocation would, and split-for-heat will create additional partitions for sustained, spread-out hot ranges.
  • Not guaranteed, ever, at any adaptive-capacity generation: that a single partition key's traffic can exceed 3,000 RCU / 1,000 WCU. This is a property of one replication group, not of your billing mode, and no feature announcement has changed it.