couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: MVCC and update locking
Date Thu, 18 Aug 2011 22:02:06 GMT

On Aug 18, 2011, at 12:56 PM, Danny Sinang wrote:

How are the 10 simultaneous write requests handled ? Won't there be
conflicts ?

I would guess that it processes all 10 operations in memory sequentially, then writes the
combined results to disk. If one of them conflicts with an earlier one, it’s rejected and
evaluation continues to the next.

(But I have no first-hand knowledge of the innards of CouchDB, I only know the architecture,
so this is just speculation.)

—Jens

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message