-
Notifications
You must be signed in to change notification settings - Fork 751
Open
Labels
type: questionFurther information is requestedFurther information is requested
Description
目前经过元旦的几天测试和 profile,有这样一些想法
- 目前经过 Profile,发现主要读侧的瓶颈还是在需要将文件写 file buffer 中,在云服务上,默认走 EBS 这样的存储,性能会额外的低下,同时会引发2的问题
- 因为1导致写入性能成为瓶颈,在模拟 SLAVE 时,容易出现 source instance 中 output buffer for replica 直接炸了,导致链接 RESET 的情况
我自己目前的看法是这样:
- feat: Support increment sync #744 我觉得会很有用,但是实现可能需要讨论一下
- 目前 file buffer 我理解是有两个作用,1 可以让人后续使用 aof_reader 进行同步,2 减少内存使用。这里我觉得可以将 file buffer 作为可选项,我们同样可以实现 sized memory buffer。让用户自行选择
不过 reader 最终的改造需要在 Writer 并行写入改造完成后才能体现,这样是我在犹豫的地方
Metadata
Metadata
Assignees
Labels
type: questionFurther information is requestedFurther information is requested