ElastiCache Flashcards
Elasticache
In-memory data stores
Benefit
Elasticache
Very low latency
Elasticache
Use cases (2)
Elasticache
- Database layer caching
- Session storage
Elasticache
benefit to DB
Elasticache
reduces load for intensive read workloads
Elasticache
stateless session management
Elasticache
user sessions stored in one cache for many instances of application
Elasticache
fully managed
Elasticache
AWS takes care of security, patching, DR
Elasticache
application requirement
Elasticache
major changes in application required
Elasticache
REDIS
Elasticache
DB Caching
Elasticache
features (4)
REDIS
- scaling
- replicas
- multi-AZ
- backup
REDIS
supports sets and sorted sets
REDIS
groups of unique strings
REDIS
MEMCACHED
Elasticache
session state storage
Elasticache
sharding
MEMCACHED
muli-node partitioning of data
MEMCACHED
feature
MEMCACHED
multithreaded architecture
MEMCACHED
Authentication supported (2)
REDIS
- IAM Authentication
- Redis AUTH
REDIS
IAM policy usage
REDIS
API-level security only
REDIS
Redis AUTH
REDIS
extra security in addition to security groups
REDIS
can set this when creating a cluster
Redis AUTH
password/token
Redis AUTH
feature supported
Redis AUTH
SSL in flight encryption
Redis AUTH
authentication feature
MEMCACHED
SASL-based authentication
MEMCACHED
Elacticache patterns (3)
Elasticache
- Lazy loading
- write through
- session
Elasticache
Lazy loading
Elacticache pattern
all read data is cached
Elacticache pattern
Write through
Elacticache pattern
data is added or updated in cache when written to DB
Elacticache pattern
benefit
Write through
data is never stale
Write through
Redis with sorted sets use case
REDIS
gaming leaderboard
REDIS
In-memory data stores
Elasticache
Very low latency
Elasticache
Benefit
Elasticache
- Database layer caching
- Session storage
Elasticache
Use cases (2)
Elasticache
reduces load for intensive read workloads
Elasticache
benefit to DB
Elasticache
user sessions stored in one cache for many instances of application
Elasticache
stateless session management
Elasticache
AWS takes care of security, patching, DR
Elasticache
fully managed
Elasticache
major changes in application required
Elasticache
application requirement
Elasticache
DB Caching
Elasticache
REDIS
Elasticache
- scaling
- replicas
- multi-AZ
- backup
REDIS
features (4)
REDIS
groups of unique strings
REDIS
supports sets and sorted sets
REDIS
session state storage
Elasticache
MEMCACHED
Elasticache
muli-node partitioning of data
MEMCACHED
sharding
MEMCACHED
multithreaded architecture
MEMCACHED
feature
MEMCACHED
- IAM Authentication
- Redis AUTH
REDIS
Authentication supported (2)
REDIS
API-level security only
REDIS
IAM policy usage
REDIS
extra security in addition to security groups
REDIS
Redis AUTH
REDIS
password/token
Redis AUTH
can set this when creating a cluster
Redis AUTH
SSL in flight encryption
Redis AUTH
TLS is used for this
Redis AUTH
SASL-based authentication
MEMCACHED
authentication feature
MEMCACHED
- Lazy loading
- write through
- session
Elasticache
Elacticache patterns (3)
Elasticache
all read data is cached
Elacticache pattern
Lazy loading
Elacticache pattern
data is added or updated in cache when written to DB
Elacticache pattern
Write through
Elacticache pattern
data is never stale
Write through
benefit
Write through
gaming leaderboard
REDIS
Redis with sorted sets use case
REDIS