couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: following fast doc updates
Date Wed, 26 Sep 2012 02:02:52 GMT

On Sep 25, 2012, at 5:59 PM, Mark Hahn <mark@hahnca.com> wrote:

> I am already using a scheme that requires me to store the latest revision
> number for every doc in memory.  You scheme would also require that and it
> would cause extra reads.  Correct me if I'm wrong.

Sure, it requires extra reads if the _changes feed skipped a revision, but it seems like the
skipped revision and the read cancel out, so it’s the same amount of work as if you’d
gotten every revision.

Is any of this worse than rewriting your app? :)

—Jens
Mime
View raw message