0
0
DynamoDBquery~10 mins

Burst capacity in DynamoDB - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Burst capacity
Start with baseline capacity
Traffic spikes occur?
NoUse baseline capacity
Yes
Use burst capacity credits
Credits decrease
Credits exhausted?
NoContinue burst
Yes
Throttle requests or wait for credits to replenish
Burst capacity lets your database handle sudden traffic spikes by using saved credits above baseline capacity, until credits run out.
Execution Sample
DynamoDB
BaselineCapacity = 100
Credits = 200
RequestRate = [50, 120, 180, 90, 130]

for rate in RequestRate:
  if rate > BaselineCapacity:
    Use credits
  else:
    Use baseline
This simulates how burst capacity credits are used when request rate exceeds baseline capacity.
Execution Table
StepRequest RateBaseline CapacityCredits BeforeCredits UsedCredits AfterCapacity UsedThrottle?
150100200020050 (baseline)No
212010020020180100 (baseline) + 20 (credits)No
318010018080100100 (baseline) + 80 (credits)No
490100100010090 (baseline)No
51301001003070100 (baseline) + 30 (credits)No
💡 Credits remain after last request, no throttling needed.
Variable Tracker
VariableStartAfter 1After 2After 3After 4After 5
Credits20020018010010070
Key Moments - 2 Insights
Why do credits only decrease when request rate exceeds baseline capacity?
Because baseline capacity handles normal traffic without using credits, as shown in execution_table rows 1 and 4 where credits stay the same.
What happens when credits run out?
Requests exceeding baseline capacity cannot be served immediately and may be throttled or delayed, but in this example credits remain positive, so no throttling occurs.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, how many credits are used at step 3?
A180
B80
C100
D0
💡 Hint
Check the 'Credits Used' column at step 3 in the execution_table.
At which step does the request rate NOT use any credits?
AStep 4
BStep 2
CStep 5
DStep 3
💡 Hint
Look for rows where 'Credits Used' is 0 in the execution_table.
If the baseline capacity was increased to 150, what would happen at step 2?
ACredits would increase
BCredits would be used as before
CNo credits would be used because request rate is below baseline
DRequest would be throttled
💡 Hint
Compare request rate and baseline capacity at step 2 in the execution_table and consider the new baseline.
Concept Snapshot
Burst capacity lets DynamoDB handle sudden traffic spikes by using saved credits above baseline capacity.
Credits are consumed only when request rate exceeds baseline.
When credits run out, requests may be throttled.
Credits replenish over time during low traffic.
This helps maintain performance without over-provisioning.
Full Transcript
Burst capacity in DynamoDB allows the database to handle sudden increases in traffic by using saved capacity credits. The baseline capacity is the normal throughput the database can handle without extra cost. When requests exceed this baseline, burst credits are used to serve the extra load. Credits decrease as they are used and replenish when traffic is low. If credits run out, requests may be throttled or delayed until credits are available again. This mechanism helps maintain smooth performance during traffic spikes without needing to permanently increase capacity.