-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想问一下是否支持通过远程连接redis分析内存呢? #41
Comments
现在还不支持。你是无法登录 redis 部署的服务器拿到 rdb 文件吗? |
主要是线上有两千多套redis,想平台化操作 如果能远程分析,这样就可以把程序放在一台机器上分析了 |
emm,比较容易实现的方案是在脚本里写个 scp 命令把 rdb 拷贝过来。 另外一种麻烦的做法是在分析的机器上起一个 redis-server,通过 slaveof 命令设为从库从而获得 rdb 文件,不过这种做法会比较费时间 |
我这里倒是有一套模拟 redis 从库的代码,这个要接起来就更费时间了 |
哦 好吧 这个我自己包装下好了 感谢感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,感谢楼主的代码付出,没有的话就自己包装啦
The text was updated successfully, but these errors were encountered: