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

基于 Volo 框架实现一个简单的 Redis Server 和 Client #227

Open
LYF1999 opened this issue Sep 15, 2023 · 2 comments
Open

基于 Volo 框架实现一个简单的 Redis Server 和 Client #227

LYF1999 opened this issue Sep 15, 2023 · 2 comments

Comments

@LYF1999
Copy link
Member

LYF1999 commented Sep 15, 2023

Motivation

实现基于 Volo RPC 通信的 Redis Server 和 Client。

Requirements

  1. 能够处理 GET SET 命令
  2. 支持 AOF 持久化
  3. 主从架构,主节点可以向从节点同步数据
  4. 分片存储

Alternatives

@HobbitQia
Copy link

我们基于 Volo 框架实现了一个简易 Mini-Redis,支持 GET SET DEL PING PUBLISH SUBSCRIBE 这六条基本命令,并添加了一个中间件 filter,可以过滤部分请求。

此外,我们还拓展了更高阶的能力:

  • AOF(Append-only File)实现持久化
  • Redis 主从架构
  • Redis Cluster
  • Graceful exit

具体实现可见仓库链接,内有详细文档和测试示例。

@stormckey
Copy link

这是我们组实现的mini-redis,支持get set del ping publish subscribe六种指令,以及AOF持久化,主从架构,cluster集群,优雅退出和事务等特性。欢迎来玩!

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

No branches or pull requests

3 participants