11 Caching data in memory: Amazon ElastiCache and MemoryDB

This chapter covers

  • The benefits of a having a caching layer between your application and data store
  • Defining key terminology, such as 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, caching relational ...

Get Amazon Web Services in Action, Third 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.