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

是否支持redis之类的缓存 #60

Open
ESHidden opened this issue Aug 7, 2020 · 3 comments
Open

是否支持redis之类的缓存 #60

ESHidden opened this issue Aug 7, 2020 · 3 comments

Comments

@ESHidden
Copy link

ESHidden commented Aug 7, 2020

场景:频繁查询的接口数据想要从数据查询一次缓存到redis之后从缓存获取数据

请问针对以上场景有相关设计和解决方案吗?想了解一一下。谢谢!

@zycgit
Copy link
Collaborator

zycgit commented Oct 16, 2020

自己实现一个 UDF,然后注册进去就好啦。

@RocMarshal
Copy link

自己实现一个 UDF,然后注册进去就好啦。

请问 如果查询的接口数据想要从redis中查询可以通过这个UDF注册来实现吗?
谢谢!
@zycgit

@zycgit
Copy link
Collaborator

zycgit commented Nov 10, 2020

可以的,注册进去的 udf。在 DataQL 查询过程中就像调用方法一样调用你的 UDF 然后缓存就可以用了。

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

3 participants