A solutions architect is designing a high-performance database tier for a multiplayer mobile game. The database must support up to write operations per second with single-digit millisecond latency and up to read operations per second with sub-millisecond latency. The gaming traffic is highly unpredictable and can spike rapidly within minutes. Which configurations should the solutions architect choose to meet these performance and latency requirements? (Select TWO.)
- Deploy an Amazon DynamoDB table and configure Amazon DynamoDB Accelerator (DAX) to serve read requests.Cevap
- Design the DynamoDB table partition key using a combination of the game session ID and a unique user UUID.Cevap
- CDesign the DynamoDB table partition key using a monotonically increasing timestamp to order player scores sequentially.
- DDeploy an Amazon RDS Multi-AZ DB cluster and configure the application to use the Read Replicas as the primary write failover target to maintain write availability.
Cevap
Deploying an Amazon DynamoDB table with Amazon DynamoDB Accelerator (DAX) to serve reads, and designing the partition key with a combination of the game session ID and a unique user UUID.
The correct configurations are to deploy Amazon DynamoDB with DynamoDB Accelerator (DAX) and to design a high-cardinality partition key using the game session ID and user UUID. DynamoDB is designed to handle high-throughput workloads, and DAX provides the required sub-millisecond (microsecond) read latencies. A composite partition key ensures that writes are distributed evenly across the database partitions, preventing write bottlenecks.
Adım Adım Çözüm
Anahtar Kavram
Designing high-performing, scalable database solutions using DynamoDB partitioning strategies and DAX caching to achieve sub-millisecond latencies.