Comments (12)
暂不支持
from anotherredisdesktopmanager.
能提到开发计划中么。。
集群连接相比于单节点,有什么技术难点么?
from anotherredisdesktopmanager.
底层连接组件不支持,需要手动开发redirect逻辑 😿 改动较大
后续看看有没有直接支持集群的底层组件,有的话直接换上
from anotherredisdesktopmanager.
底层redis连接组件用的什么?
不太熟悉vue代码,熟java,有没有什么我能帮得上忙的。
mac下好用的redis客户端工具确实很难得呀。
from anotherredisdesktopmanager.
哈哈,谢谢支持
底层用的node_redis,再底层是hiredis
from anotherredisdesktopmanager.
@dale19900108 试了试另一个支持cluster的组件,感觉最终效果并没有啥区别
1、能够实现只输入集群中任意一个node的连接配置即可连接
2、由于cluster无法遍历所有key,所以左侧key list显示的还是当前node的所有key
3、不过cli console里面执行命令可以跨node执行命令【底层组件做了redirect】,get set功能正常
所以你的需求点是什么,如果目前实现的cluster功能是上面的1\2\3,能够满足常规需求么
from anotherredisdesktopmanager.
遇到的问题是这样,
1、set了一个key之后,因为是集群环境,可能key落到了其他节点,无法在左侧列表显示。
2、同上,模糊查询的时候,无法显示全部的key
from anotherredisdesktopmanager.
由于2的限制,左侧列表只能同时显示一个node的所有key,并不能展示集群的所有key,包括模糊匹配的时候。
而大部分需要集群支持的呼声中可能都是想要key列表是全集群key,所以即使实现集群功能,也不能很好的支持左侧列表
from anotherredisdesktopmanager.
对的 ,根据模糊查询get全部的key,这个是最主要的场景了。
而且,在使用过程中,对于key存在哪个节点上,应该关心的人不多吧?
公司集群有6个节点,查询一个key,要去点6次,就有点麻烦了。
对于2的限制,感觉很奇怪哦 ,支持cluster集群连接,为什么还只能显示当前node的key呢?
from anotherredisdesktopmanager.
你可以认为底层存储了n个真实node的链接,当节点返回redirect跳转的时候,他会自动找到目标链接重新查询。所以本质上还是链接到一个node,也只能查询当前node的所有key
一个笨方法是找到所有节点链接,依次遍历获取后再合并,搜索时同理,但这样性能太差,这也是一般redis客户端也不支持显示集群所有key的原因
from anotherredisdesktopmanager.
Redis官网上说,ioredis是支持集群的,刚才到github上看了下ioredis的介绍,,试试这个?
我感觉,redirect这种情况,应该是由组件封装好的才对。
在java里,jedis/lettuce/Redisson这种连接组件,都是可以直接get的呀
from anotherredisdesktopmanager.
我试的就是ioredis
直接get是没问题的啊,所以上面我说cli里get能够跨节点取到数据,但是获取所有key还是单节点,这个不能获取集群全部key
from anotherredisdesktopmanager.
Related Issues (20)
- can't be opened because apple cannot check it for malicious software HOT 2
- 希望能够添加对Garnet的支持 HOT 3
- 部分Hash类型未在根目录下显示 HOT 2
- [FEATURE] support sshd config PasswordAuthentication=no and ChallengeResponseAuthentication=yes HOT 4
- 左上角设置按钮,不清晰,能否调整 HOT 1
- 【功能建议】希望可以加个对库的别名备注 HOT 1
- Mac M3 无法打开Another Redis Desktop Manager HOT 4
- 在Kubuntu下有几率会导致系统卡死
- 在软件内更新后,出现一些列bug HOT 3
- Garnet 已经过期删除的键还在,读取就会卡死了 HOT 1
- Feature Request - Memory Analysis configurable total scan + min threshold to report HOT 3
- 请问如何正确使用导入key&导出key功能? HOT 6
- 列表中无法查询出数据,但是命令行可以查询出来
- 功能建议:导入数据库连接配置 HOT 2
- 建议加一个JSON内容格式化功能 HOT 1
- key已经删除了,右边的value还在,是不是明显的bug? HOT 4
- 无法把已有的缓存设置成不过期的BUG HOT 4
- redis加锁后看不到锁信息吗? HOT 1
- 能否编译一个支持麒麟ARM UOS的deb包
- Can't connect to a Redis cluster when I check the Cluster checkbox. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anotherredisdesktopmanager.