Rust.cc

Rust.cc -

【Rust 日报】2023-05-14 支持http接口的分片并发迷你redis

rudis 分片、并发的迷你redis,支持http接口。使用: # 启动服务 $ rudis-http # 指定地址和分片数 $ rudis-http -n <num_shards> -a <address_to_listen_on> 默认地址和端口:127.0.0.1:6379。设置key: $ curl 'localhost:6379/set/hello/world' {"SET": "OK"} // 如果SET的参数不对 $ curl 'localhost:6379/set/hello' {"SET": "Invalid"} 获取key: $ curl 'localhost:6379/get/hello' {"hello":"world"} // 如果key不存在 $ curl 'localhost:6379/GET/123' {} // 如果GET参数不对 $ curl 'localhost:6379/GET' {"GET": "Invalid"} GitHub: https://github.com/lorenzoc25/rudis pacdef 适用于Linux的多后端声明式包管理器。支持的后端: Application Package Manager Section feature flag Arch Linux pacman [arch] arch Debian apt [debian] debian Python pip [python] built-in Rust cargo [rust] built-in GitHub: https://github.com/steven-omaha/pacdef ai-editor 用actix-web重写ChatGPT后端。 GitHub: https://github.com/arguflow/ai-editor From 日报小组 长琴 社区学习交流平台订阅: Rustcc 论坛:支持 rss 微信公众号:Rust 语言中文社区

rudis是一个支持分片和并发的迷你redis,可以通过http接口进行操作。pacdef是一个适用于Linux的多后端声明式包管理器,支持多种后端。ai-editor是用actix-web重写ChatGPT后端。

ai-editor http pacdef redis rudis 分片 并发 接口

相关推荐 去reddit讨论

热榜 Top10

Dify.AI
Dify.AI
eolink
eolink
LigaAI
LigaAI
观测云
观测云

推荐或自荐