DEV Community

Le Huy Ho
Le Huy Ho

Posted on

Learning AWS - DVA - Day 12: ElastiCache

Overview

  • The same way RDS is to get managed Relational Databases

  • ElasticCache is to get managed Redis or Memcached

  • Caches are in-memory databases with really high performance, low latency

  • Helps reduce load off of database for read intensive workloads

  • Helps make your application stateless

  • AWS take care of OS maintenance / patching, optimizations, setup, configuration, monitoring, failure recovery and backups

  • Using ElasticCache involves heavy application code changes


ElastiCache Solution Architect - DB Cache

  • Applications queries ElastiCache, if not available, get from RDS and store in ElastiCache

  • Helps relieve load in RDS

  • Cache must have an invalidation strategy to make sure only the most current data is used in there

ElastiCache DB caching

ElastiCache Solution Architect - User Session Store

  • User logs into any of the application

  • The application writes the session data into ElastiCache

  • The user hit another instance of our application

  • The instance retrieves the data and the user is already logged in

Image description


ElastiCache - Redis vs Memcached

ElastiCache Redis vs Memcached

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay