Soru

Zorluk: OrtaAWS Database Services

A mobile game development studio is launching a new multiplayer game. They require a database to store player session states and real-time game lobby information. The data structure consists of simple key-value pairs, and the system must scale dynamically to support millions of players with consistent, single-digit millisecond latency. Which AWS service is best suited for these database requirements?

  1. A
    Amazon RDS for MySQL
  2. Amazon DynamoDBCevap
  3. C
    A self-managed PostgreSQL database hosted on Amazon EC2
  4. D
    Amazon Redshift

Cevap

Amazon DynamoDB is the most suitable service for this scenario.
Amazon DynamoDB is a fully managed NoSQL database service that provides consistent, single-digit millisecond latency and horizontal scaling, which matches the game studio's requirements for key-value player session states and real-time lobby information at scale.

Adım Adım Çözüm

1
Analyze the application requirements.
The application requires key-value storage, dynamic scaling for millions of players, and consistent single-digit millisecond latency.
Understanding the data access pattern (key-value) and performance SLA (single-digit millisecond latency) guides the selection of the database engine.
2
Evaluate AWS database services against the requirements.
Amazon DynamoDB matches the key-value NoSQL pattern and guarantees single-digit millisecond latency at scale, while Amazon RDS (relational), Amazon Redshift (OLAP), and EC2 (unmanaged) do not align with these criteria.
Eliminating options that introduce overhead, latency, or relational features that do not match key-value scaling requirements ensures the correct choice is identified.

Anahtar Kavram

Selecting the appropriate AWS database service based on workload requirements (NoSQL key-value store with low latency vs. relational or data warehouse).
Bu soruyu puanla