couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: healthcare projects running on couched?
Date Mon, 24 Mar 2014 23:47:54 GMT

On Mar 24, 2014, at 10:10 AM, אורן שני <orenshani7@gmail.com> wrote:

> How abiut couchDB's conflict resoloution mechanism vs SQL DB's using locks.
> Do you think that is a major concideration?

You can’t use locking in a widely-distributed system, or one client forgetting to release
a lock would block everyone else (either forever or until the lease runs out.) It also makes
offline updates impossible. 

I’ve heard of relational-db-based systems that do replication, but they don’t attempt
to propagate locks. Instead they do conflict resolution during replication the same way CouchDB
does.

—Jens
Mime
View raw message