-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
supports LRANGE/ZRANGE/ZREVRANGE/ZRANGEBYSCORE/ZREVRANGEBYSCORE/ZSCAN hot querying in Redis Cache #2752
Labels
✏️ Feature
New feature or request
Comments
@ Zhu Haiyang |
guoweijian |
Fruit not seen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which PikiwiDB functionalities are relevant/related to the feature request?
目前 RedisCache 批量查询仅支持了 string 类型的
MGET
命令,还需要在 hashtable/list/zset 等复合数据类型中支持HMGET/LRANGE/ZRANGE/ZREVRANGE/ZRANGEBYSCORE/ZREVRANGEBYSCORE/ZSCAN
等命令。Hmget 不需要做的原因是 hget和HMGET都是只去查询一个key 所以HMGET不需要考虑这些
Description
支持多个key 查询缓存可以提升性能,但是要注意 load 到缓存中的 key 对应的 field 不能过大,否则会把内存打满。
实现方案可以参考 Mget PR 2694
Proposed solution
如上所述
Alternatives considered
可以联系chejinge
The text was updated successfully, but these errors were encountered: