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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more