A gaming company has its primary transactional data stored in an Amazon RDS database. To support a new multiplayer feature, they need to implement a real-time leaderboard that displays player rankings with sub-millisecond latency. The leaderboard must handle rapid read and write spikes without degrading the performance of the main relational database. Which AWS service should the company integrate to meet these requirements?
- AAmazon Redshift
- BAmazon DynamoDB
- Amazon ElastiCacheAnswer
- DAmazon EC2 with self-hosted Memcached
Answer
Amazon ElastiCache
Amazon ElastiCache is a fully managed, in-memory data store and cache that supports sub-millisecond latency. It is specifically designed to cache database queries and run real-time leaderboards (using Redis sorted sets), which offloads read spikes from the primary Amazon RDS database with minimal management overhead.
Step-by-Step Solution
Key Concept
AWS Database Services