An essential part of using Amazon ElastiCache is monitoring cache utilization and performance. And cost allocation...
tagging helps organizations monitor ElastiCache and keep cache costs at bay.
Native services such as Amazon CloudWatch can monitor ElastiCache metrics associated with performance, including host-level metrics, Memcached-specific metrics and Redis-specific metrics. Metrics are collected for each cache node every 60 seconds.
Host-level metrics monitor ElastiCache activity at the hardware level and include CPU utilization percentage, available memory on the host, bytes the host has read from or written to the network and the amount of content swapped on the host. There is also an extensive selection of metrics available to monitor ElastiCache -- both Memcached and Redis engines -- including the amount of content written to or read from the cache, the percentage of cache hits and misses, and the number of key commands -- such as Get -- the cache has received.
There is no standard to dictate which metrics IT teams should follow; choose metrics that yield the best overall view for your organization's needs. In general, host-level metrics are a good place to start to examine general performance. However, engine-specific metrics can offer more insights into the Memcached or Redis performance. For example, excessive CPU utilization and swap usage may correspond to lower application performance, while excessive evictions or an increasing number of current connections may suggest cache workload problems.
IT teams can choose to see other metrics for detailed information on cache behavior. ReplicationBytes or ReplicationLag metrics can tell administrators how much replication data Redis is producing and help identify latency in the replication process.
Don't overlook the importance of scheduling a maintenance window in Amazon ElastiCache. Cache software is typically patched during the maintenance window. AWS could drive this by adding a new version of Memcached or Redis to the available repertoire, or an end user could request this when moving from Memcached 1.4.14 to 1.4.24. IT teams choose a maintenance window and Amazon ElastiCache clusters become unavailable during that time. This can affect app performance.
Choose between two popular caching engines in ElastiCache
Choose proper tools for monitoring AWS
Maximize efficiency through performance monitoring
Dig Deeper on AWS database management
Related Q&A from Stephen J. Bigelow
Many compatibility issues can arise when moving VMs to the public cloud. Watch out for compatibility problems with partitions, OSes and image formats... Continue Reading
To migrate a VM and its dependencies from a local data center to a public cloud, use the forklift method to prepare the VM for migration, deploy the ... Continue Reading
Prepare your VMs with cloud migration best practices that examine how suitable a VM is for migration, what groundwork needs to be prepared for it and... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.