Skip to content
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

higress wasm 插件中使用 redis,支持 redis 连接复用时基于 db 区分连接池 #1678

Open
gyy-bisontech opened this issue Jan 15, 2025 · 3 comments
Labels
help wanted Extra attention is needed level/challenge

Comments

@gyy-bisontech
Copy link

我在同一个higress中添加了两个相同的插件, 两个插件配置链接不同的redis db, 理论上应该两个插件去不同的db中查询信息, 但是实测下来两个插件使用的是同一个 db 查询信息

@johnlanni
Copy link
Collaborator

目前 redis 的连接池没有区分 db,可以先通过 2 个 redis 服务(虽然相同地址),来隔离连接池

@gyy-bisontech
Copy link
Author

是的, 现在正通过这种方式来隔离的, 接下来有计划区分db么?

@johnlanni
Copy link
Collaborator

嗯,不过目前优先级不高,两个服务可以解决

@johnlanni johnlanni changed the title redis db配置不生效 higress wasm 插件中使用 redis,支持 redis 连接复用时基于 db 区分连接池 Jan 16, 2025
@johnlanni johnlanni added the help wanted Extra attention is needed label Jan 16, 2025
@github-project-automation github-project-automation bot moved this to Todo in Higress Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed level/challenge
Projects
Status: Todo
Development

No branches or pull requests

2 participants