We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
消息按时间分区,以某时间点&消息量为界限 将消息记录花费为冷分区、热分区 冷分区:历史特别悠久的消息,客户端本地保存历史消息,如果丢失查找冷分区,需要加载很久用户也能接受,分区容量可以很大 热分区:最近的消息,控制分区容量在一定范围内,保证就算db查找也能很快返回给用户
同时可以基于userId做分片、甚至某业务字段二次分片?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
消息按时间分区,以某时间点&消息量为界限
将消息记录花费为冷分区、热分区
冷分区:历史特别悠久的消息,客户端本地保存历史消息,如果丢失查找冷分区,需要加载很久用户也能接受,分区容量可以很大
热分区:最近的消息,控制分区容量在一定范围内,保证就算db查找也能很快返回给用户
同时可以基于userId做分片、甚至某业务字段二次分片?
The text was updated successfully, but these errors were encountered: