A solutions architect is designing a web application that uses an Amazon RDS for PostgreSQL database. The application is experiencing high read latency due to a large volume of read requests. Which solution will most effectively reduce read latency for frequently accessed data to sub-milliseconds?
- Deploy Amazon ElastiCache in front of the Amazon RDS database to cache frequently accessed read queries.Answer
- BConfigure Amazon RDS Read Replicas and configure the application to promote a read replica to the primary database to improve read latency.
- CMigrate the database to Amazon DynamoDB and use sequential timestamps as partition keys to distribute the write and read load.
- DMigrate the database to Amazon DynamoDB configured in Provisioned Capacity mode to handle highly unpredictable, spiky read workloads.
Answer
Deploy Amazon ElastiCache in front of the Amazon RDS database to cache frequently accessed read queries.
Deploying Amazon ElastiCache in front of the Amazon RDS database is the standard high-performance architecture pattern to serve read requests from memory, reducing query response times to sub-milliseconds.
Step-by-Step Solution
Key Concept
Using an in-memory cache like Amazon ElastiCache to offload read queries from a relational database and achieve sub-millisecond latencies.
Estimated Time:1m 0s