You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Redis执行并发命令时存在延迟问题,寻求根因排查帮助

Redis延迟问题排查求助

环境与问题背景

  • 我们使用Redis作为缓存服务已有2年多,3周前突发延迟问题,目前已排查数周仍未定位根源
  • Redis与Elasticsearch共同部署在Google Compute的一台4vCPU、24GB内存虚拟机中

Redis核心状态信息

# Server
redis_version:4.0.8
# Clients
connected_clients:99
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:214119584
used_memory_human:204.20M
used_memory_rss:278921216
used_memory_rss_human:266.00M
used_memory_peak:2292554800
used_memory_peak_human:2.14G
used_memory_peak_perc:9.34%
used_memory_overhead:16349011
used_memory_startup:765680
used_memory_dataset:197770573
used_memory_dataset_perc:92.70%
total_system_memory:25275248640
total_system_memory_human:23.54G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
mem_fragmentation_ratio:1.30
mem_allocator:jemalloc-4.0.3
active_defrag_running:0
lazyfree_pending_objects:0

系统资源使用情况

资源使用情况图展示了虚拟机的CPU、内存、磁盘IO及网络等核心指标的运行状态(原外链图片已移除)

Redis数据量

redis:6379> DBSIZE
(integer) 134934

本地基准测试结果

在Redis所在虚拟机执行redis-benchmark测试,针对0.1MB大小的GET、SET命令进行性能验证,结果显示命令响应性能正常,可排除网络延迟问题(原外链图片已移除)

目前已通过基准测试排除网络延迟可能性,但仍无法定位延迟问题的根本原因,请求协助分析。

内容的提问来源于stack exchange,提问作者itx

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.28 11:52:56