Developer Associate · Lesson 1 of 5DynamoDB and caching6 min

Is the table busy or is one key hot?

The essentials in 30 seconds

before you dive into the details
Picture this

Many counters or one queue?

One crowded queue

Hot partition key -> concentrated work

Spare capacity elsewhere cannot redistribute the key by itself.

Distributed counters

Distributed keys -> distributed activity

Assign independent customer traffic across the key space.

Where the analogy stops: A high number of key values helps only when activity is distributed. On-demand and adaptive capacity do not remove every partition constraint.
01Picture the mechanism

One crowded counter can delay work while other counters are idle. Partition key activity matters as much as total table traffic.

02Choose by the signal

Distribute activity with keys, then choose how table capacity is managed.

03In the application

Use Query with a known partition key and sort-key range. Choose on-demand for capacity management, not as a repair for a bad access pattern.

Exam trap

A larger table allocation or on-demand mode does not automatically eliminate a persistently hot key.

Keywords
  • partition key
  • sort key
  • write sharding
  • on-demand
  • Query
One sentence to remember

Distribute activity with keys, then choose how table capacity is managed.

1 media item5 rule steps5 scenarios6 flashcards

Focus mode