Chapter 12. Caching data in memory: Amazon ElastiCache

This chapter covers

  • Benefits of a caching layer between your application and data store
  • Terminology like cache cluster, node, shard, replication group, and node group
  • Using/Operating an in-memory key-value store
  • Performance tweaking and monitoring ElastiCache clusters

Imagine a relational database being used for a popular mobile game where players’ scores and ranks are updated and read frequently. The read and write pressure to the database will be extremely high, especially when ranking scores across millions of players. Mitigating that pressure by scaling the database may help with load, but not necessarily the latency or cost. Also, relational databases tend to be more expensive than ...

Get Amazon Web Services in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.