Ravi Sir's Cards › AWS
Throttle or spread?
This comparison card contrasts Throttle or spread. Single device PK is described as dEVICE#id alone heats under burst. Sharded PK is described as dEVICE#id#shard spreads writes. The card pairs Single device PK with fix keys, and Sharded PK with design shards.
Read card text
What this card says
Throttle or spread?
Single device PK
DEVICE#id alone heats under burst.
Sharded PK
DEVICE#id#shard spreads writes.
Key points
One PK forever.
#0..N suffix; raise on throttle.
Example
1k msg/s sensor.
Use when
Fix keys.
Design shards.