ExitAmazon DynamoDB and Amazon ElastiCache: state storage and caching boundaries1 / 9
Explanation

Separate authority from acceleration

How DynamoDB's role as an authoritative state store and DAX's table-integrated caching differ from ElastiCache's application-managed caching role. · advanced

An authoritative state store defines the application's durable record. When DynamoDB has that role, losing a cached copy must not erase the underlying business state. Externalizing this state lets application instances remain replaceable; putting state outside a process does not, by itself, establish its durability or correctness.

DAX accelerates supported DynamoDB operations through a DAX client and endpoint. Its caching is integrated with DynamoDB requests and table data; it is not a separate keyspace for arbitrary application results. DynamoDB remains the authority.

ElastiCache, when used as an application cache, exposes engine operations rather than DynamoDB operations. The application chooses cache keys, encodes values, and coordinates cached content with its source. It can cache a computed response spanning several records, whereas DAX caches supported DynamoDB reads rather than arbitrary application computations.

BoundaryDynamoDBDAXElastiCache as cache
RoleAuthoritative recordDynamoDB accelerationApplication acceleration
Data addressedTable itemsDynamoDB requestsApplication-defined keys
Cache coordinationNot a cache roleDAX-managed cachingApplication-managed logic
Arbitrary computed payloadExplicitly stored itemNot a general cacheApplication-defined value

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.