Elasticache Flashcards
There are 3 design patterns for Elasticache, what are they and what do they do?
Lazy Loading: All read data is stored in cache - but cache can become stale
Write Through: Adds or updates data in cache when data is written to DB - no stale data
Session Store: Supports TTL. Use for temporary session data.
Do either of the Elasticache engines support IAM authorizations?
No. Neither.
By default - is Elasticache:
- Multi AZ
- Encrypted at Rest
- Encrypted in Transit
it can be multi-AZ, but this needs to be enabled.
Data is not encrypted at rest or in transit by default.
How do you authenticate to Reddis and Memcached
ReddisAuth (Username/Pwd) and SASL for Memcached
What is the cost model for elasticache
Pay per hour based on EC2 instance type
Is a cached version of data considered an authoritative version? If so, under what conditions?
A Cached version is considered authoritative until the ttl expires