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

Todo of pika 4.0 #1913

Closed
AlexStocks opened this issue Aug 18, 2023 · 2 comments
Closed

Todo of pika 4.0 #1913

AlexStocks opened this issue Aug 18, 2023 · 2 comments

Comments

@AlexStocks
Copy link
Collaborator

AlexStocks commented Aug 18, 2023

The new version pika 4.0 codes is released on develop branch now. There are some todo as follows:

  • 1 Load test to get its performance with a data volume of 200GiB
  • 2 support RocksDB
  • 3 Establish interoperability between Pika and Redis 8.0
@AlexStocks
Copy link
Collaborator Author

AlexStocks commented Sep 12, 2023

new todo list:

  • 1 网络线程模型改造;

  • 2 存储引擎:内存 + 磁盘

    内存目前使用的是 C++17 原生的 hashtable,在多线程情况下是无法保证并发安全的,此时需要把 3.5 的 Redis 缓存迁移到 4.0 中。

    磁盘存储使用的是 leveldb,但是需要升级到 blackwidow,要求做到:1 使用 protobuf 描述各个数据结果,不再使用二进制描述;  2 尽量合并成一个字段,目前 blackwidow 的 zzset 和 hashtable 等多字段存储方式会造成多次读取,影响 hmset/hmget 等原语的性能。

    Pika 4.0 处理请求时没有 wal 机制,无法保障数据安全性,需要迁移 Pika 3.5 的 binlog 机制。

  • 3 cmd;

@Mixficsol
Copy link
Collaborator

  • 0902 对比 GO 和 TCL 的测试用例丰富度
  • 0909刘月财已经确认go redis测试用例一直在更新维护

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

No branches or pull requests

3 participants