DATABASES & QUERY Cache

DAX (DynamoDB Accelerator)

DynamoDB-compatible in-memory cache. Cuts eventually consistent reads from milliseconds to microseconds.

Official AWS Reference https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

A DynamoDB table has repeated reads of the same items or a hot key.

✕

When to Avoid

You need strongly consistent reads, the workload is write-heavy, or the data is not in DynamoDB.

// EXAM TRAPS & SIGNAL KEYWORDS

RDS caching, strongly consistent reads, write-heavy

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.html ↗

"DAX is a DynamoDB-compatible caching service that reduces the response times of eventually consistent read workloads by an order of magnitude, from single-digit milliseconds to microseconds."

  • DAX delivers up to 10x performance improvement, milliseconds to microseconds, at millions of requests per second.
  • DAX is API-compatible with DynamoDB and needs only minimal functional changes.
  • AWS states DAX is not ideal for strongly consistent reads or write-intensive workloads. It performs best above a 90% cache hit rate.

// DAX (DYNAMODB ACCELERATOR) TAKEAWAYS

01

Role: DynamoDB-compatible in-memory cache. Cuts eventually consistent reads from milliseconds to microseconds.

02

Choose: A DynamoDB table has repeated reads of the same items or a hot key.

03

Avoid: You need strongly consistent reads, the workload is write-heavy, or the data is not in DynamoDB.

04

Trap: Watch for exam signals like RDS caching, strongly consistent reads, write-heavy.

05

Fact: DAX delivers up to 10x performance improvement, milliseconds to microseconds, at millions of requests per second.

06

Fact: DAX is API-compatible with DynamoDB and needs only minimal functional changes.

07

Fact: AWS states DAX is not ideal for strongly consistent reads or write-intensive workloads. It performs best above a 90% cache hit rate.