Redis monitoring

Converged Infra and APM insights into Redis performance

Free Trial

Trusted by leading companies

What is Redis?

Redis (Remote Dictionary Server) is an in-memory data structure store, used as a distributed, in-memory key-value database, cache and message broker, with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indices. Redis is open-source software released under a BSD 3-clause license although commercially supported paid versions are also available for enterprise users; Redis, Inc. commercially supports Redis Enterprise, which is available as an on-premises software deployment and a fully-managed cloud service.

Redis’ popularity is owed to its ability to support high performance caching at scale, making it particularly well-suited to cloud, large datacenter and microservices use cases. Redis enables faster application interactions such as quick data retrieval and a balanced load of backend services with caching.

Common use cases for Redis include:

  • Database
  • Caching
  • Chat, messaging, and queues
  • Session store
  • Geospatial indexes

How to monitor Redis

eG Enterprise monitors Redis effectively as it supports end-to-end monitoring of the whole application and infrastructure stack. Domain specific functionality provides deep insights, observability and root-cause diagnosis of the applications reliant on Redis, Redis servers and the resources they depend on.

Beyond this, eG Enterprise monitors all underlying and interconnected infrastructure and dependencies to identify issues that impact on Redis performance and availability but lie beyond the Redis stack itself. eG Enterprise supports both agent-based and agentless monitoring of Redis.

Out-of-the-box alerting and metric thresholds, dedicated help desk features, rich dashboards, service topology maps, live and historical reports, synthetic monitoring and user-experience views enable Redis monitoring to be integrated with modern IT workflows and business processes and with ITSM platforms such as ServiceNow, Microsoft Teams, WhatsApp and more.

eG Enterprise is available for use on-premises, in the cloud or via our ready-to-go SaaS service. 24x7, follow-the-sun support enterprise options serviced by 12 regional offices worldwide supporting 8 native languages ensure you can rely on eG Innovations.

Observability platform for Redis

eG Enterprise is a powerful AIOps observability platform designed to remove manual effort and human error from the Redis administrator, capable of scaling beyond the capabilities of the human operator and automating deployment, root-cause diagnosis and anomaly detection. eG Enterprise is a cloud-ready performance monitoring solution:

  • Automatically detect your Redis servers on all monitored hosts and start monitoring in minutes with no manual intervention
  • Auto-discover application dependencies (Java, .NET, Node.js, PHP) to downstream Redis infrastructure on all monitored hosts
  • Track slow Redis requests to optimize your Redis server and cluster performance. Trace business transactions getting affected due to infrastructure problems
  • Out-of-the-box monitoring, alerting and analytics
  • Visibility into key Redis metrics, including response time, cache hit ratio, cache usage, memory fragmentation, number of connections, hits, misses, and more
  • Pre-built monitoring dashboards to track key performance indicators for all application tiers, infrastructure and cloud services
  • Auto-baseline your Redis infrastructure and Redis based services and applications - get alerted about excessive usage patterns or anomalies

Redis cluster and server accessibility monitoring

The Redis Access Layer monitors client connections to the Redis server and reports abnormalities (if any) in connections.

Cluster status is monitored, and administrators are alerted if the cluster is not in an OK state.

Alerts are also sent out if the server is unavailable over the network.


Deep insights into Redis performance and the Redis engine

Instant visibility and proactive alerting of the distributed memory-object caching system, identifies common issues including:

  • Memory and CPU contentions on the Redis server
  • Slow command executions
  • Poor keyspace hit ratio
  • High server latency
  • Unscheduled server reboots
  • Rejection of client connections
  • Failure of partial synchronization attempts
  • Active monitoring of the Redis Slow Log identifies queries that have exceeded their specified execution times

Key troubleshooting information for Redis databases

eG Enterprise allows the administrator to troubleshoot complex issues to optimize Redis performance, including key metrics to diagnose common problems such as:

  • CPU-intensive commands on the Redis server;
  • Databases with many keys that are about to expire;
  • Issues in persistence and replication operations

Beyond Redis end-to-end monitoring

eG Enterprise offers true end-to-end monitoring, within a single unified interface, of all the interdependencies and underlying infrastructure and services supporting Redis including:

  • A full suite of Application Performance Monitoring (APM) tools to allow the quality, performance and availability of the end user experience and service quality
  • Synthetic monitoring tools including protocol, full session and web application simulators allow the performance and behavior of Redis to be tested within the full context of applications and services depending on it
  • Cloud and on-premises datacenter monitoring to ensure issues such as faulty RAM, server CPU capacity, cloud capacity and so on are correctly identified
  • Network monitoring - networking issues can have a significant impact on Redis performance and comprehensive networking monitoring is essential for optimal behavior
  • Full support for authentication stacks including Active Directory enables traceability and auditing of secure access
  • Cloud billing, subscription and account monitoring enables you to correlate and optimize your Redis costs and performance in the cloud

Frequently asked questions (FAQs)
about Redis Monitoring

Redis began as a caching database, but it has since evolved into a primary database. Many applications built today use Redis as a primary database. However, most Redis service providers support Redis as a cache but not as a primary database.

With Redis Enterprise, you can use Redis as both an in-memory cache and a primary database in a single system, thus eliminating the complexity and latency of two separate systems. Not only that, you can use it as a multi-model primary database, enabling you to build modern applications, as well as low-latency microservice-based architectures, all on top of Redis.

See: Redis as a Cache vs Redis as a Primary Database in 90 Seconds | Redis

Redis is an open source, in-memory key-value data structure store, which can be used as a database, cache, or message broker. It's a NoSQL database.

eG Enterprise supports over 200 different technology stacks, see: End-to-End Monitoring: Applications, Cloud, Containers (eginnovations.com), including many popular database offerings such as: MongoDB, Maria, Oracle, Microsoft SQL Server, Azure SQL Managed Instances and Database, Azure Cosmos DB, SAP HANA, MySQL and others.

The Redis architecture contains two main processes: Redis client and Redis Server. Redis client and server can be on the same computer or VM / container or on distinct separate computers/VMs.

Redis server is responsible for storing data in memory. It handles all kinds of management and forms the major part of the Redis architecture. Redis client can be Redis console client or any other programming language’s Redis API.

Redis is a storage of data structures of the NoSQL type. Redis stores everything in primary operational memory. Primary memory is volatile and therefore we will lose all stored data once we restart our Redis server or computer. Therefore, for data persistence, Redis supports the following mechanisms:

  • RDB: At specified intervals, RDB makes a copy of all the data in memory and stores them in permanent storage.
  • AOF: AOF logs all write operations received by the server, thereby making all data persistent.
  • SAVE command: Redis server can be forced to create an RDB snapshot any time using the SAVE command.

Redis also supports replication for fault-tolerance and data accessibility. To enhance storage capacity, you can also group two or more Redis servers to form a cluster. As such, Redis employs a primary-replica architecture and supports asynchronous replication where data can be replicated to multiple replica servers. This provides improved read performance as requests can be split and distributed amongst the servers and enables faster recovery when the primary server experiences an outage.

An excellent community article on Redis terminology and architectures is, How Redis Internally works ? What is redis ? | by N Singh | Nov, 2022 | Medium.

As mentioned already, all Redis data resides in-memory, in contrast to databases that store data on disk or SSDs. By eliminating the need to access disks, in-memory data stores such as Redis avoid seek time delays and can access data in microseconds.

Because of the reduced seek time and improved accessibility of data, Redis is the 'go-to' database for search engines.

Also, Redis supports Pub/Sub with pattern matching and a variety of data structures such as lists, sorted sets, and hashes. This allows Redis to support high performance chat rooms, real-time comment streams, social media feeds and server intercommunication such as Twitter, Flickr, Pinterest etc.

To summarize, many widely popular applications rely on Redis for their data storage and retrieval needs. This means that even a short break in the availability of the database or any slowness in its performance, no matter how negligible, can adversely impact user experience with that business-critical application. To avoid this, administrators should continuously monitor the health and performance of the Redis server and capture performance issues, well before they impact the quality of user interactions with the dependent applications.

eG Enterprise’s proactive monitoring and out-of-the-box alerting ensures administrators can avoid most issues and outages and when issues do impact performance resolve them rapidly.

Third-party platforms such as eG Enterprise simplify the monitoring of Redis Servers. Redis does provide some functionality to access performance data and metrics directly. MONITOR is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. This command can both be used via redis-cli and via telnet. See: MONITOR | Redis.

Yes, it does. You can read more about support in our documentation, see: Azure Redis Cache Test (eginnovations.com).

Using eG Enterprise for Redis, administrators can find quick and accurate answers to the following common performance questions:

  • Is the Redis server available over the network?
  • Is the server responding to a ping request with a pong?
  • Did the server reboot recently? If so, was it a scheduled or unscheduled reboot?
  • Is any client connection to Redis been idle for too long a time? If so, what is that client's IP address?
  • Which are the long running client connections to the Redis server?
  • Did the server reject any connections to it because the maxclients limit was reached?
  • Is there enough space in the Redis query buffer? Which client's query buffer is running out space?
  • Is the output list of any client very long? If so, which client has a long output list? Is the abnormal output list length because of lack of memory in the output buffer of that client?
  • Is the Redis server consuming CPU excessively? If so, what is contributing to this erratic CPU usage - resource-intensive system processes? or resource-hungry user processes?
  • Is the server about to exhaust its maxmemory limit?
  • Has high memory fragmentation been noticed on the server?
  • Is the server overloaded with commands to be processed?
  • Has any command been CPU-intensive consistently?
  • Has the Slowlog captured any slow commands? If so, which are these commands and when were they executed?
  • Are keys in any Redis database expiring soon? If so, which database do these keys belong to?
  • Have many keys expired?
  • Have any keys been evicted?
  • Is the keyspace able to service all requests to it, or are too many keyspace hits going unserviced? Is the poor hit ratio increasing server latency?
  • Did the last RDB save operation take too long to complete?
  • Has it been a long time since the last successful RDB save operation occurred?
  • Is Append Only File (AOF) logging enabled on the server?
  • Is the target Redis server the master or slave in a replication configuration?
  • If the target is a slave, then is it able to connect to the master? Has the link to the master been down too long?
  • Is the slave syncing with the master very slowly?
  • Is the replication backlog rightly sized?
  • Are more full synchronizations occurring than partial synchronizations?
  • Have any partial synchronization attempts failed?
  • Is the monitored Redis instance part of a cluster? If so, is the cluster operating normally at present?
  • Are any hash slots in the cluster in the FAIL or PFAIL state?
  • Were any nodes recently added to or deleted from the cluster? If so, which nodes are these?

Yes, the core eG Enterprise product includes both live and historical reporting, out-of-the-box alongside a simple to use GUI custom report builder allow you to schedule and generate reports for auditing, KPI and SLA tracking and management insight. Long term trends and usage patterns can be analyzed and tracks to allow you to plan your Redis infrastructure.


Start your free trial or schedule a custom demo with an engineer

  • Works on cloud environments, hybrid cloud setups and on-premises deployments
  • Deploy eG Enterprise using our SaaS platform or on-premises
  • Suitable for monitoring cloud applications, digital workspaces and IT infrastructures
Please Enter Valid Work Email
eG Enterprise