Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS DynamoDB Capacity Units Calculator

I was watching this AWS Certified Developer Associate's training course and got to the section of DynamoDB. Apparently, there are several kinds of calculations to get done during the creation & configuration of a DynamoDB table (different calculations for both Read Unit Capacities and Write Unit Capacities, involving the possible inputs as strongly/eventually consistent reads, or standard/transactional writes), and I was told that this calculation was going to come up on the actual DVA-C01 exam as well.

Thus, I thought of coding out the capacity units calculation program for "fun", although it definitely took me 2 hours to complete... but was worth it.

What it calculates

  • RCU (Read Capacity Units) - strongly consistent and eventually consistent reads
  • WCU (Write Capacity Units) - standard and transactional writes

How to run

Web UI (recommended)

No installs or server needed. It runs entirely in the browser.

  1. Download dynamodb-calculator.html
  2. Double-click the file to open it in any browser (Chrome, Firefox, Safari, Edge)
  3. Enter your values and the results update instantly

Original Python script

Requires Python 3.

python capacity_calculator.py

You will be prompted to enter values for each calculation in the terminal.

Files

File Description
dynamodb-calculator.html Web UI - open directly in a browser
capacity_calculator.py Original terminal-based Python script

About

The AWS DynamoDB's WCUs and RCUs calculation program.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages