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
目前经过元旦的几天测试和 profile,有这样一些想法
我自己目前的看法是这样:
不过 reader 最终的改造需要在 Writer 并行写入改造完成后才能体现,这样是我在犹豫的地方
The text was updated successfully, but these errors were encountered:
是这样的,我上次测试也发现云上环境云盘的低带宽会构成瓶颈:
可以考虑 dump.rdb 保存到内存,数 G 的内存空间可以接受。
Sorry, something went wrong.
目前 file buffer 我理解是有两个作用,1 可以让人后续使用 aof_reader 进行同步,2 减少内存使用。这里我觉得可以将 file buffer 作为可选项,我们同样可以实现 sized memory buffer。让用户自行选择
同样考虑过这点,是否可以增加不落盘的方式提供给用户选择。而且通过golang的有缓冲channel,连接reader和writer,可以天然的拥有背压的功能,内存占用是可控的
背压
这里我考虑的是将 buffer 管理这一块抽象出来,做一个 BufferManager,支持两种模式,一种是 Memory Buffer,一种是 File Buffer
Does this meet the demand? https://github.com/CodisLabs/redis-port/tree/redis-4.x-cgo/pkg/libs/pipe
No branches or pull requests
目前经过元旦的几天测试和 profile,有这样一些想法
我自己目前的看法是这样:
不过 reader 最终的改造需要在 Writer 并行写入改造完成后才能体现,这样是我在犹豫的地方
The text was updated successfully, but these errors were encountered: