Newsletters




Design patterns for Amazon ElastiCache

Design patterns for Amazon ElastiCache

This e-book is a comprehensive guide to using Amazon ElastiCache with Redis OSS compatibility to build high performance applications. We provide a brief background on caching and when to use it. Then, we quickly dive deep core data modeling patterns, resource optimization, and advanced data types and patterns.

  • Core Data Modeling Patterns: The read-aside caching pattern is the most common use case, where the application first checks the cache before falling back to the database. We show you how to extend this pattern to handle changing data and working with TTLs.
  • Efficient Resource Usage: We examine the key resources in Redis OSS - memory, compute, and network - and provide guidance on optimizing each. This includes techniques like compressing values, using TTLs, and offloading connection management.
  • Advanced Data Types:  Beyond simple strings, Redis OSS provides advanced data types like hashes, lists, sets, sorted sets, and HyperLogLogs. We explain the use cases and tradeoffs of each.
  • Advanced Patterns: We cover more advanced techniques to improve performance, like pipelining and scripting, and sophisticated usage patterns like locking and negative result caching.

Sponsors