This lab walks you through the steps to launch and configure a DynamoDB DAX Cluster in the Amazon cloud.
You will practice using Amazon Machine Images to launch Amazon EC2 Instances and use key pairs for SSH authentication to log into your instance then you will create a Go application followed by a sample DynamoDB table.
You will run GetItem, Query, and Scan command to note down the timings with the DynamoDB table. And, then run the same command with DAX Cluster and check the duration of GetItem, Query, and Scan.
Duration: 60 minutes
AWS Region: US East (N. Virginia) us-east-1
DynamoDB gives you a response in single-digit milliseconds. However, sometimes application demands the response in Microseconds.
DAX gives you in-memory acceleration to reduce the response time of eventually consistent from Single-digit milliseconds to microseconds.
It is designed to run, within a VPC environment. It uses, Subnet groups and Security groups while creating a DAX Cluster.
A use case for DynamoDB DAX
Applications that require to read same data over again and again
Cost-sensitive and read-sensitive applications.
If your application does repeat read over large datasets.
Launching Lab Environment
Create a Security group for DAX Cluster and EC2 instance
Create a DAX Cluster
Launching an EC2 instance
SSH into EC2 Instance
Install go lang, its application and copy the timings
Run the GetItem, Query, and Scan with operation with the DAX Cluster and see the difference in time
Validation of the lab
Terminate EC2 instance and delete the DAX Cluster