I’m working with Couchbase (Java SDK) more than one year and from the beginning I was very worried about one question: why set documents with Replicate.ONE SO slow? I have reached only ~10-15 sets per second. I worked with two nodes of Couchbase and on very good application servers, so such perfomance is not hardware problem.
I noticed, that with Persist.ONE perfomance equals to perfomance with Replicate.ONE. I suggest, that response on set operation with Replicate.ONE from server returns only when document writes to disk. I want to verify my suggestion or see how such mechanism implements by see sources of Couchbase Server. Looking on github, I can’t find implementation of this functionality, so I ask for help from developers to show me module, that implements this.
Many thanks in advance.