liveBook · Manning

Amazon ElastiCache

As explained in Machine Learning System Design

AWS ElastiCache is a managed in-memory caching service compatible with engines including Redis and Memcached.

Amazon ElastiCache provides a managed key-value cache for reducing inference-server load when some queries are much more popular than others. It supports Redis and Memcached and is suited to runtime inference rather than batch inference. section 15.5.2

A practical caching setup should:

  • Use a simple key-value cache with a low time to live, choosing the exact duration through data analysis. section 15.5.2
  • Let batch inference update the cache when a key changes, rather than using the cache as part of batch inference itself. section 15.5.2
  • Monitor CPU and RAM usage, request volume, and active instances while ensuring the serving system is accessible only to the application. section 15.5.2

How Machine Learning System Design covers it

How deep it goes
Explains service choice, cache pattern, TTL consideration, batch interaction, monitoring, and access boundaries without implementation detail.
Examples
Uses popular-query responses, low-TTL key-value entries, and batch updates for changed keys as operational examples.
What it assumes
Assumes an application-backed inference-serving system and distinguishes runtime inference from batch inference.
What you can do after
Operate/configure AWS ElastiCache as a low-TTL cache supporting runtime inference and coordinated batch updates.
How it connects
Connects caching with real-time inference, batch inference, autoscaling, monitoring, and access control.

Also explained in

Compare how 2 books explain Amazon ElastiCache →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.