Skip to content

thomasmilner/ddbgsidemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DyanamoDB Single Table Design GSI test

4 AWS SAM applications that show how a GSI can help improve access patterns on a DynamoDB table

Requirements

Install AWS SAM CLI by following their installation instructions.

Files

There are 4 separate applications in the repo

../Table1 ../Table2 ../Table3 ../Table4

Each application can be deployed as it's own SAM application but the folder structure is the same for each

../Table1/template.yml - SAM template to create DynamoDB table, stream and Lambda to process stream. Lambda is written in Python 3.8 runtime ../Table1/streamsdemo/app.py - Lambda code ../Table1/tests/dataload.py - generate data and insert into table

Tests are stored in a folder at the same level ../tests/dbreadop1.py - execute tests for access pattern 1 against all 4 tables ../tests/dbreadop2.py - execute tests for access pattern 2 against all 4 tables ../tests/dbreadoperations.py - execute tests for both access patterns against all 4 tables

Blog

Read this article to walk through tutorial and details/learnings on how I built this application

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages