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)
- Type Error: Too many Cluster redirections. Last error: ReplyError: MOVED 8916 127.0.0.1:6379 HOT 6
- 可以建议给db添加一个备注的功能吗,我这里不同的项目模块用了不同的db,太多了经常容易记不住 HOT 1
- 分割符支持多个或同时支持':'和'::' HOT 1
- 请问能加一个分组功能吗,连接太多了,想归类整理下 HOT 2
- “Another Redis Desktop Manager” can’t be opened because Apple cannot check it for malicious software. HOT 2
- 如何连接 Azure Cache fro Redis HOT 1
- 连接列表中-可以添加一个自定义分组嘛? HOT 2
- 可以添加一个 java serialized 吗 HOT 6
- 大佬 能不能增加个根据文件批量删除key的功能 HOT 1
- 命令行参数启动无效 HOT 19
- Zlib Gzip Parse Failed! when use java GZIPOutputStream to compress the string HOT 1
- [Feature request] Linux arm64 build HOT 11
- Export and Import of Keys has incorrect message and not very clear HOT 7
- Redis cluster status HOT 2
- Redis number of keys in cluster mode HOT 16
- 软件内执行不了redis事务 HOT 3
- 便携版或绿色版 Portable version or green version HOT 4
- 【功能建议】希望能给db添加别名 HOT 1
- 【问题】maxclients显示问题 HOT 1
- Blank screen when building from source HOT 6
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.