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

【讨论】产品定位&架构 #1

Open
aierui opened this issue Dec 29, 2021 · 0 comments
Open

【讨论】产品定位&架构 #1

aierui opened this issue Dec 29, 2021 · 0 comments

Comments

@aierui
Copy link

aierui commented Dec 29, 2021

看了下产品介绍,在 redis-cluster 下做一层数据持久化,热数据存储在 redis 内存中,冷数据备份到 tikv,这点和腾讯 tendis 冷热混合存储版类似。

讨论1: 这类架构组件较多,上手成本会较高,是不是可以在 tikv 上增加一个 proxy (statless),负责 redis 协议解析及各数据结构编码(映射 K-V),核心功能还有限流、鉴权(多租户)等,数据存储在 tikv 中。

讨论2: 如何支持热冷架构呢?PD 模块调度能力可发挥作用; 之外也可以考虑 rocksdb block_cache 或 hot_cache,tikv 要求部署在 nvme 设备上,其读写性能不会太差(和纯内存没法比)。

PS:我个人对该类项目很感兴趣,之前也有过类似想法,不清楚大佬们还要人不🤣 ,但目前不熟悉 rust (逃...)

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

No branches or pull requests

1 participant