A ride-hailing company is experiencing performance issues with its backend application. The application requires sub-millisecond latencies when querying and updating active driver coordinates. Additionally, daily analytical reports running against the transaction log on an Amazon RDS for PostgreSQL DB instance are causing high CPU utilization and latency for online transactions. Which two database architectural decisions should the Solutions Architect implement to meet these performance requirements? (Select TWO.)
- Deploy Amazon ElastiCache for Redis to store and retrieve the real-time driver coordinates.Cevap
- Create an Amazon RDS Read Replica to run the daily analytical reports instead of running them on the primary DB instance.Cevap
- CConfigure the RDS Read Replicas as the primary disaster recovery failover targets to handle application write traffic during database failures.
- DMigrate the coordinates data to an Amazon DynamoDB table using a partition key based on the booking timestamp.
- EMigrate the coordinate data to a DynamoDB table configured in Provisioned Capacity Mode to handle the highly unpredictable, spiky ride request volume.
Cevap
Deploy Amazon ElastiCache for Redis to store and retrieve real-time driver coordinates, and create an Amazon RDS Read Replica to run daily analytical reports.
Deploying Amazon ElastiCache for Redis provides sub-millisecond latencies required for driver coordinates, and creating an Amazon RDS Read Replica offloads analytical queries to prevent resource contention on the primary database.
Adım Adım Çözüm
Anahtar Kavram
Selecting and configuring high-performing database options by offloading read workloads with replicas and caching real-time data using in-memory databases.