如果我将Redis ACL用于公共客户验证该怎么办?
首先,我将Redis PubSub用作消息经纪人在客户之间传递实时消息,因为它的延迟较低。
我有一个想法将REDIS部署在公共端点,但在网关后面,并让用户直接连接到Redis。这将需要为每个用户创建ACL并将其发送用户名
和password
。 ACL将用于限制客户仅访问那些允许的酒吧通道。
这个问题是
- 是否可以限制REDIS有多少个ACL?
- ACL的数量会影响性能吗?
First of all, I use Redis pubsub as a message broker to deliver real-time message between clients because it's low latency.
I have an idea to deploy Redis on a public endpoint but behind a gateway, and let the user connect to Redis directly. This will need to create ACL for each user and send them username
and password
. The ACL would be used to restrict the client's access to only those pubsub channels that were allowed.
The Question is
- Is there a limit to how many ACLs Redis can have?
- Does the number of ACL impact performance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论