Section 4 - ElasticCache Flashcards

1
Q

What is Amazon ElastiCache?

A

ElastiCache is a fully managed in-memory datastore compatible with Redis or Memcached.

  • In-memory datastore
  • Compatible with Redis or Memcached engines
  • Data can be lost
  • Offers high performance and low latency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two types of ElastiCache?

A

Memcached:

  • Great for basic object caching
  • Scales horizontally, but there is no persistance, no Multi-AZ or failover.
  • a good choice if you want basic caching and you want your caching model to be as simple as possible.

Redis:

  • A more sophisticated solution enterprise features like persistance, replication, Multi-AZ and failover.
  • Supports sorting and ranking data (e.g. for gaming leaderboards), and complex data types like lists and hashes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ElasticCache scenarios?

A
  • Database under stress:
    • heavy reads
    • data does not change frequently
How well did you know this?
1
Not at all
2
3
4
5
Perfectly