> On Mar 18, 2015, at 9:02 AM, Rajagopal V <rajas...@gmail.com> wrote: > > We arent using the SG, but for my understanding, do the sequences go out of > order because of the parallel HTTP Requests from CBLite ? Would it be > possible to adjust the number of threads in CBLite?
Not without reducing performance. But in the example you gave, the ordering difference is simply because of the way CBL (and SG, and CouchDB) order sequences. If you update doc A, then B, then A again, the result is that A will end up with a greater sequence number than B, so the order in which the docs are pushed, or read from the _changes feed, will be (B, A). But you can’t rely even on the ordering above. In a more complex scenario with network errors or with multiple connections between peers, the ordering can end up being unpredictable. That’s simply the reality of a highly available, partition-proof system: it sacrifices consistency. (It’s an AP system that lacks C, in terms of the CAP theorem.) —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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D12E3F1F-3974-4988-AEBD-A54841CC6C7E%40couchbase.com. For more options, visit https://groups.google.com/d/optout.