Hi Frédéric, That’s fine if you don’t think it should be implemented the same way that we do. But a quick explanation of why we’re doing it our way:
> An invoice with 2 lines. > Your CBLIS will create a doc for the invoice header and 2 docs for each > invoice line. > My CBLIS will create a single doc. For a local single-user system your way would be more efficient. However, in a distributed system, especially with the possibility of multiple users editing documents, putting everything in one doc greatly increases the chances of conflicts. Also, any change to a document requires the entire doc to be transferred by the replicator, which is less efficient than transferring a smaller doc. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/B458C320-07E9-47E1-8D1B-83B671DE9F03%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
