A company is designing a database for a global e-commerce application with millions of users. The workload requires single-digit millisecond read latency, high availability across multiple AWS Regions, and strong consistency. Which database service should the company use?
Trap 1: Amazon ElastiCache for Redis
Amazon ElastiCache for Redis is an in-memory cache, not a persistent primary database. It does not provide strong consistency across multiple regions and is unsuitable as the primary datastore for a global e-commerce application.
Trap 2: Amazon Neptune
Amazon Neptune is a graph database optimized for connected data like social networks or fraud detection, not for general e-commerce workloads. It does not provide single-digit millisecond latency at scale for typical e-commerce operations.
Trap 3: Amazon DynamoDB with global tables
Amazon DynamoDB global tables provide single-digit millisecond read latency and multi-region replication, but cross-region reads are eventually consistent, not strongly consistent. Therefore, it does not satisfy the strong consistency requirement globally.
- A
Amazon ElastiCache for Redis
Why wrong: Amazon ElastiCache for Redis is an in-memory cache, not a persistent primary database. It does not provide strong consistency across multiple regions and is unsuitable as the primary datastore for a global e-commerce application.
- B
Amazon Aurora Global Database
Amazon Aurora Global Database is the best choice. It offers low-latency reads across regions through read replicas and maintains strong consistency for writes and reads in the primary region, meeting the application's requirements.
- C
Amazon Neptune
Why wrong: Amazon Neptune is a graph database optimized for connected data like social networks or fraud detection, not for general e-commerce workloads. It does not provide single-digit millisecond latency at scale for typical e-commerce operations.
- D
Amazon DynamoDB with global tables
Why wrong: Amazon DynamoDB global tables provide single-digit millisecond read latency and multi-region replication, but cross-region reads are eventually consistent, not strongly consistent. Therefore, it does not satisfy the strong consistency requirement globally.