在Slowlog中设置setclientaddr [英] setclientaddr in the Slowlog

查看:74
本文介绍了在Slowlog中设置setclientaddr的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试调试我们的Redis实例的性能问题,其中CPU峰值达到100%。我们主要使用这个Redis作为执行get操作的缓存,很少写入它。我们注意到其性能下降。当看到
慢速日志时,我看到setclientaddr是一个缓慢的操作。我不熟悉Azure托管的Redis,足以理解这表明什么,似乎无法在Redis代码库中找到对此操作的任何引用。有谁知道这个操作是什么
,以及它是否表明Windows操作系统上的Redis性能有任何更大的问题?

We are trying to debug a performance issue with our Redis instance where the CPU spikes up to 100%. We are using this Redis primarily as a cache performing get operations and rarely are writing to it. We noticed a slowdown in its performance. When looking the slowlog, I am seeing setclientaddr as one of the slow operations. I am not familiar with the Azure hosted Redis enough to understand what this indicates and can't seem to find any reference to this operation within Redis code base. Does anyone know what this operation is and if it is indicative of any larger problems of Redis performance on a Windows operation system?

感谢您的帮助,

Tyler Bream

Tyler Bream

推荐答案

您好Tyler,

Hi Tyler,

当Redis缓存是托管服务(PaaS)时,通过网关促进服务,并且连接到群集>节点,其中节点是您的特定实例。 setclientaddr可能是服务层的一部分(不是Redis特定的)。实现
ThreadPool

With Redis Cache being a hosted service (PaaS), the service is facilitated via a gateway and connections are made to a Cluster > Node, where node is your specific instance. The setclientaddr is likely part of the service layer (not Redis specific). Are you implementing a ThreadPool?


这篇关于在Slowlog中设置setclientaddr的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆