Elasticache

What is ElastiCache?

A fully managed, serverless memory caching service that comes in two different flavours; Memcached and Redis. The Redis variation also has a cluster type as well as a singular variation. Elasticache is an in-memory database which offers high peformance and low latency to applications. It runs on EC2 and can be placed in front of RDS or DynamoDB.

ElastiCache Feature Table:

FeatureMemcachedRedis ClusterRedis
Data PersistenceNoYesYes
Data TypesSimpleComplexComplex
Data PartitioningYesYesNo
EncryptionNoYesYes
HANoYesYes
Multi-AZMulti-AZ but no failover or replication.Yes w/ Auto Failover using read replicasYes w/ Auto failover using read replicas.
Scalingup and out.Up and out (Shards).Up and out (replicas)
MultithreadedYesNoNo
Backup and RestoreNoYes automatic and manual snapshotsYes automatic and manual snapshots.

Use Cases:

  • Storing session states.
  • Storing static data that is frequently accessed.
  • Apps must be tolerant of stale data.
  • Web session stores, DB Caching, Leaderboards, streaming data dashboards.