passdrill
AWS SAA-C03 · RDS, DynamoDB & Databases · Card 017/024 easy

A trading application performs the same handful of DynamoDB reads for popular instruments repeatedly, and the team needs to cut typical read response times from single-digit milliseconds down to microseconds without rewriting the application's DynamoDB API calls or accepting reduced read throughput. Which solution fits, and what tradeoff does it require?

  1. DynamoDB Accelerator (DAX), an API-compatible in-memory cache that serves eventually consistent reads at microsecond latency, at the cost of not supporting strongly consistent reads through the cache
  2. ElastiCache for Redis placed in front of DynamoDB, since Redis is API-compatible with DynamoDB's SDK calls and requires no changes to application code
  3. Increasing the table's provisioned read capacity units until latency drops to microseconds
  4. Enabling DynamoDB point-in-time recovery, which caches recent reads in memory for faster access
Next card → Shuffle