An essential part of using Amazon ElastiCache is monitoring cache utilization and performance. And cost allocation...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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
Photon OS optimizes VMware Photon platform deployment, not only in vSphere but in GCE, EC2 and more. Follow these steps to learn how to run Photon OS...continue reading
Performance problems can be caused by a number of things, including overprovisioning and poor vCPU selection and assignment to VMs. Use these ...continue reading
Think about what types of workloads are running on a VM before assigning compute resources, and consider using vCPUs from different cores for ...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.