Databases 3 min read

How Much Does Redis MONITOR Slow Down Your Server? Benchmark Results Revealed

A benchmark comparing Redis performance with and without the MONITOR command shows a substantial drop in throughput—up to 53% for SET operations—highlighting that MONITOR should be used only for short‑term debugging, as illustrated by a real‑world Meituan case study.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
How Much Does Redis MONITOR Slow Down Your Server? Benchmark Results Revealed

Previously introduced Redis MONITOR, this article tests its performance impact.

Test Process

Using redis-benchmark with 10 clients and 100,000 requests, we measured throughput before and after enabling MONITOR. redis-benchmark -c 10 -n 100000 -q Results without MONITOR:

PING_INLINE: 92506.94 requests per second
PING_BULK: 97943.19 requests per second
SET: 94786.73 requests per second
GET: 99403.58 requests per second
INCR: 89766.61 requests per second

Results with MONITOR enabled:

PING_INLINE: 76569.68 requests per second
PING_BULK: 67294.75 requests per second
SET: 44404.97 requests per second
GET: 60132.29 requests per second
INCR: 49382.71 requests per second

Comparison: Enabling MONITOR reduces throughput significantly, e.g., SET drops by 53%, GET by 39%, INCR by 44%.

Real‑world Case

Meituan experienced memory spikes in a Redis cluster shard. Investigation showed an unusually high client_longest_output_list value, indicating large output buffers.

Using client list, they found a client with the cmd field set to monitor , confirming that a long‑running MONITOR caused the performance degradation.

The findings demonstrate that MONITOR should only be used for short‑term debugging, not for continuous monitoring.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

databaseredisMonitor
Java High-Performance Architecture
Written by

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.