DynamoDB Accelerator (DAX)
Fully managed in-memory cache for DynamoDB with microsecond latency.
How it works
Amazon DynamoDB Accelerator (DAX) is a managed in-memory cache cluster for DynamoDB. Applications use a DAX client and endpoint; eligible cache hits can be served with microsecond latency. DAX caches items and Query or Scan results, reducing reads against the table when the cache hit rate is high. Consistency behavior depends on the request type.
When to use it
Choose it when the requirement is read-heavy DynamoDB workloads that need faster reads without changing application logic.
Real-world example
A retailer sees repeated reads of product information during a sale. The team uses DAX for suitable reads and measures latency and DynamoDB load under its actual workload.
Key facts
- DAX uses a compatible client API, but applications must use a DAX client and endpoint.
- Default cache TTL is 5 minutes.
- Caches individual item objects as well as Query and Scan results.
Common pitfall
Cached data can be stale, particularly for Query results or writes made directly to DynamoDB. Understand TTL and consistency requirements before using DAX.
Often confused with
Amazon ElastiCache, a general-purpose cache that stores aggregated results and requires application code changes.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- read congestion
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.