pika
pika copied to clipboard
Upgrade: using Redis 7 as redis cache
Which PikiwiDB functionalities are relevant/related to the feature request?
No response
Description
Now we use Redis 4 https://github.com/pikiwidb/rediscache as Redis cache.
Proposed solution
Using Redis 7
Alternatives considered
Using Redis 7
at present redis version: 4.0.14; target redis version: https://github.com/redis/redis/releases/tag/7.2.3 members: chengbo & chenfengtao
redis cache lib: https://github.com/pikiwidb/rediscache 尽量使用 redis 7 的代码 pika 中与 rediscache 相关的代码:pika redis cache adapter https://github.com/OpenAtomFoundation/pika/tree/unstable/src/cache
you should check: whether this work is useless or useful.
chengbo:
1 db.c object.c 当前的代码和 4.0.14 相比,redis 对这两个文件改动比较大;
https://github.com/OpenAtomFoundation/pika/issues/2297
https://github.com/pikiwidb/rediscache/pull/7