Soru

Zorluk: OrtaHigh-Performing Database Solutions

A solutions architect is designing a high-performance database tier for a multiplayer mobile game. The database must support up to 80,00080,000 write operations per second with single-digit millisecond latency and up to 200,000200,000 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.)

  1. Deploy an Amazon DynamoDB table and configure Amazon DynamoDB Accelerator (DAX) to serve read requests.Cevap
  2. Design the DynamoDB table partition key using a combination of the game session ID and a unique user UUID.Cevap
  3. C
    Design the DynamoDB table partition key using a monotonically increasing timestamp to order player scores sequentially.
  4. D
    Deploy 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

1
Analyze latency and throughput requirements.
Write traffic requires single-digit millisecond latency at 80,00080,000 writes/sec, and read traffic requires sub-millisecond latency at 200,000200,000 reads/sec.
This determines the suitable database type and caching layer.
2
Select the database and caching technologies.
Choose Amazon DynamoDB to scale writes and Amazon DynamoDB Accelerator (DAX) to achieve sub-millisecond read latency.
DynamoDB scales horizontally for high write throughput, and DAX provides microsecond latency for cached reads.
3
Design a high-performing partitioning strategy.
Use a partition key combining game session ID and user UUID to distribute the workload.
A high-cardinality partition key avoids hot partitions and prevents write bottlenecks.

Anahtar Kavram

Designing high-performing, scalable database solutions using DynamoDB partitioning strategies and DAX caching to achieve sub-millisecond latencies.
Bu soruyu puanla