Introduction to Amazon ElastiCache and Purpose-Built Databases
In-memory caching plus document, graph, time series, wide-column and ledger-style databases.
- 2 lessons
- Module quiz
No single database suits every kind of data. Reading the same data repeatedly from a disk-based database is slow and expensive, and data such as documents, social graphs or time series is awkward to store in relational tables.
Amazon ElastiCache adds an in-memory cache, running Valkey, Redis OSS or Memcached, that serves frequently read data in microseconds and takes load off databases. AWS also offers purpose-built databases designed for specific data models: Amazon DocumentDB for JSON documents with MongoDB compatibility, Amazon Neptune for graphs of relationships, Amazon Keyspaces for Cassandra workloads, Amazon Timestream for time series, and others.
What the exam expects
Questions test caching strategies and where caches belong, and matching a data model to its purpose-built database, for example Neptune for relationships several hops away and DocumentDB for MongoDB workloads.
How this module is organised
Reducing Database Load with ElastiCache Caching Strategies explains caching patterns, engines and caching at each layer of an application. Choosing Purpose-Built Databases by Keyword and Access Pattern explains which database suits which data model.