couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma" <>
Subject Re: Any experience with partial replication via _changes?
Date Tue, 09 Feb 2010 09:13:14 GMT
I think it's also wise to check for that publish-flag in the validation
function on the receiving end.


Chris Anderson said:
> On Mon, Feb 8, 2010 at 3:08 PM, Rodd Snook <> wrote:
>> Hi,
>> I'm a new CouchDB user in the middle of designing a new publishing
>> sub-system for a web app. One model that I'm considering is to use a
>> kind of partial replication, by listening to a filter on _changes,
>> pulling out documents with a "publish" flag on them and pushing them
>> to a Couch instance backing up the live site.
>> Is there anyone with experience doing something similar, who can tell
>> me if this is an effective strategy, or a recipe for headache and
>> disaster? I'd link to know ahead of time if there's some pitfall
>> that's going to prevent me from doing this with a manageably small
>> piece of bash/perl/php.
> This seems like a sound design to me. By the time the replicator
> provides the features we'd like it to have (maybe CouchDB 1.1) you'll
> probably be able to do all this without any scripting code at all.
> Chris
> --
> Chris Anderson

View raw message