Monitoring ElastiCache Flashcards
4 Monitoring attributes
- CPU Attributes
- Swap Usage
- Evictions
- Concurrent Connections
True or False: Memcached is multithreaded
True
Memcached maximum CPU load
90%. Must add addtional nodes to the cluster if this is exceeded.
Is Redis multi-threaded?
No.
How do you determine when to scale Redis?
90 / # of cores in an instance. Ex: 90 / 4 = 22.5%
What is swap usage?
The amount of swap file that is being used.
What is the typical size of a swap file?
Equal to the amount of RAM. Ex: 4GB RAM = 4GB swap file.
What is a swap file?
A reserve of hard drive space allocated for “swapping” actively processing information, for inactive information.
Why is a swap file used?
If there is not enough RAM for all processes, an OS can use swap file to store in memory data for later processing. This comes with performance degredation.
What is a healthy SwapUsage metric? (Not to be confused with status)
Average of 0Mb, not to exceed 50Mb.
If SwapUsage exceeds 50Mb, how should this be addressed?
Increase the memcached_connections_overhead parameter.
what is memcached_connections_overhead
It is the amount of memory reserved for memcached connections.
True or False, to get Redis Swap usage information, review the reserved-memory metric.
True: SwapUsage is for memcached. Redis uses the reserved-memory metric.
What are Evictions?
It is the removal of old cached items to make room for new cached items.
Evictions Settings for memcached
There are not recommended settings. Choose a threashold base on the application needs.