A gaming company hosts a multiplayer online game where active game lobby states, player statistics, and match queues are stored in an Amazon RDS for PostgreSQL DB instance. During peak hours, the database experiences CPU exhaustion and high read latencies due to a massive volume of read queries retrieving game lobby lists and player leaderboard data. To resolve this performance bottleneck, a solutions architect needs to introduce a caching layer. The caching solution must support automatic failover across multiple Availability Zones to ensure high availability, persist cache data to survive node restarts, and support complex data types like sorted sets to efficiently manage the leaderboards. Which architecture should the solutions architect implement to meet these requirements with the least operational overhead?
- Deploy an Amazon ElastiCache for Redis cluster with Multi-AZ and automatic failover enabled, and configure the application to read from the cache.Cevap
- BDeploy an Amazon ElastiCache for Memcached cluster with nodes distributed across multiple Availability Zones, and configure the application to read from the cache.
- CConfigure the application to route the read-heavy lobby and leaderboard queries to the standby instance of the RDS PostgreSQL Multi-AZ DB deployment.
- DDeploy a single-node Amazon ElastiCache for Redis instance, and configure a secondary cold standby instance in another Availability Zone that is restored daily from backup snapshots.