I wanted to confirm the differences between PeristTo and ReplicateTo since they sound kind of similar and the docs aren't entirely clear from what I've read.
ReplicateTo seems mostly straight forward. A given document only has a single "master" node so this setting specifies that x number of other nodes must also replicate the document.
PesistTo is what I'm a bit vauge on since I'm not sure what "persist' means. Obviously it can't simply mean that the document is stored on those nodes, because that's what the ReplicateTo setting appears to refer to. Therefore I assume that it references the difference between having the document stored in RAM or Disk. Does the PersistTo setting mean specifically that the given number of nodes don't just have the document stored in their memory, but that they have also stored it on their disk as well?
If so, can we clarify the difference between "replicated" and "persisted" that on the docs? Specifically this one: http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-durability.html#table-couchbase-sdk_java_set-persist-replicate I think perhaps just changing the wording of the docs to say "persisted to disk" would be helpful.
I would also love any additional links someone can provide if there is a doc explaining this and I simply missed it. This doc seems to pretty well support how I think those terms are defined: http://www.couchbase.com/docs/couchbase-sdk-java-1.1/advanced-persistence.html