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

查询路由提一个小建议 #1

Open
wangmingweikong opened this issue Jul 15, 2020 · 0 comments
Open

查询路由提一个小建议 #1

wangmingweikong opened this issue Jul 15, 2020 · 0 comments

Comments

@wangmingweikong
Copy link

wangmingweikong commented Jul 15, 2020

查询路由本身是想查询生效的路由信息,所以我觉得应该是从redis中查询,而非去查数据库,/route/routes方法可以考虑一下。
而且有一点我不太理解,既然用数据库保存路由信息,那么还用redis缓存干啥呢,直接读取数据库中的路由信息加载到webflux中不就可以了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant