What is ElastiCache? - Features

This article is a summary of what Darcy has learned about ElastiCache.


What is ElastiCache?

Fully managed (diskless) in-memory DB.

In-memory DB is a DB that reads and writes data in memory without using a disk to speed up DB processing.


When should I use ElastiCache (use cases)?

  • Implementing rankings and recommendations (purchase history display)
    When doing
  • If you have used RDS read replicas to speed up the read speed, but want to make the response faster.
    • Runs faster than a read replica
  • If you also want faster DB write speeds
  • If you want to maintain session credit card billing during auto-scaling
    • If you want to manage outside of sticky sessions
  • If you want to process user behavior data at high speed



Types of ElastiCache

The following types of ElastiCache exist. Each has its own characteristics and must be used accordingly.

  • Redis
  • Memcached

Differences between the two (comparison)



Its type facilitates deployment, operation, and expansion.

This service is designed to
Rather than relying entirely on a slow disk-based database
Instead of relying entirely on a

Improve DB performance of web applications by allowing them to retrieve information from a fast, managed in-memory data store.


Where are they often placed on a configuration diagram?

Often placed in front of RDS or DynamoDB.


What can ElastiCach do for you?

ElastiCache allows you to save sessions and frequent DB queries to reduce
web page read time by saving sessions and frequent DB queries
and reduce the time to read web pages.


How it works (overview)

What data flow will it be?

What data is read into which? What data is written?


ElastiCach Features

  • In-memory DB type
    DB (does not use disk, runs in memory)

  • Key Value Store
    is a high-performance database of
  • Memcached, Redis, and other types exist.
  • High-speed data processing in milliseconds or less for cached data
  • Real-time ranking processing and item appearance based on action data recording, etc. can be realized.

  • NoSQL-type database
    which is a
  • SQL cannot be used as a relational database
  • Not suitable for cache processing for content delivery


ElastiCach - Network Diagram



Memcached and Redis usage

In which case is it best to use either? Why?


ElastiCach - Testing

Tools to be used

  • Tools to be deployed at the client
    • Chrome Browser
  • Tools to be deployed on the web server


ElastiCach - Monitoring

What are the monitoring items?


ElastiCach - Rates



Reference Site


What is Memcached?





What is the difference between Memcached and Redis?


What is the difference between a lead replica and a lead replica?

  • ElastiCache is more expensive


Related Articles