DAX | DynamoDB Accelerator in AWS DynamoDB | Caching for AWS DynamoDB
Watch my YouTube video for explanation :
Please look into the class notes here for your references:
DAX DynamoDB Accelerator
Cache:
Subset of Data (data storage layer)
Stored in-memory to quickly retrieve and serve the content
local or remote(DAX, i.e. multiple node working as a Unit)
Application on EC2 --->DynamoDB
|
|
Cache
DAX
Fully Managed , HA, Caching layer for DynamoDB
Delivers Microsecond Performance
Horizontally and Vertically Scalable
Supports Get/Query/Scan + Update/Delete/Put + LSI GSI operations
Easy Migration from DynamoDB to DAX
Cache is hosted on nodes( Memory Optimized EC2) , pay for per node
When to use ?
Consistent/Burst traffic on the same set of keys
require microsecond response times
If your query case can tolerate eventual consistency
read intensive and not write intensive
How DAX works
Revenue Table ---> DAX cluster
Load Balancer
---------------------------------------------------------
|Node1 (Master) ------->Node2 (Read Replica) |
| | | |
| | | |
|---------------------->Node3 (Read Replica)--------------
Best Practices:
Don't use cache without understanding implications
monitor and scale based on load
single point of failure (avoid) if sharing cluster with multiple tables
when in doubt use the ultimate source of truth as DynamoDB
Fore more Abinitio, AWS and data engineering videos please subscribe , view , like and share my YouTube channel
Click DataPundit
Comments
Post a Comment