Open rstrlcpy opened 8 years ago
@Ramzec I do not think there is a reason other than simplicity of failure handling to start. Probably we need to optimize it. Do you want to help on it?
Ok, i will try.
I tried it once, but didn't get much benefit, as all the writes needed to complete anyway. Though that was many iterations ago, so it couldn't hurt to try it again.
@barakmich I think he wants to do parallel writes and waits for all to finish. We should have some gain there when the replication factor is 3 or 5.
There are two implementations can be:
Current implementation of "WriteAll" allows to have one successful write, in this case do not need to wait all writers. This can be implemented as separate write-level.
I see that Read data-path has ability to do parallel-read (ReadSpread), but write does not have. Any reasons?