Question

Difficulty: EasyAWS Database Services

A logistics company operates an online shipping portal backed by a relational database. Due to a surge in user traffic, the database is experiencing high read latency when retrieving frequently accessed tracking information. The company wants to add an in-memory caching layer to store these frequent queries and reduce the load on the database. Which AWS service is best suited to meet this requirement?

  1. A
    Amazon DynamoDB
  2. Amazon ElastiCacheAnswer
  3. C
    Amazon Redshift
  4. D
    Amazon Aurora

Answer

Amazon ElastiCache
Amazon ElastiCache is a web service that makes it easy to set up, manage, and scale distributed in-memory data stores or caches in the cloud. It improves the performance of web applications by allowing retrieval of information from fast, managed, in-memory caches, instead of relying solely on slower disk-based databases.

Step-by-Step Solution

1
Analyze the business and technical requirements.
The requirement is to implement an in-memory caching layer to speed up read queries and reduce the read load on a relational database.
Identifying the primary function needed (in-memory caching) helps narrow down the service choices.
2
Evaluate the available AWS database and caching services against the requirement.
Amazon ElastiCache is specifically designed for in-memory caching (Redis or Memcached), whereas DynamoDB is a NoSQL database, Redshift is a data warehouse, and Aurora is a relational database.
Matching service capabilities to the requirement ensures the correct architecture choice is made.

Key Concept

In-memory caching with Amazon ElastiCache to improve performance and reduce database load.
Rate this question