incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Goodlad <da...@goodlad.ca>
Subject Re: Replicating a subset of data(data for user of a website)
Date Mon, 29 Mar 2010 05:49:35 GMT
On Mon, Mar 29, 2010 at 4:41 PM, Audrey Lee <audrey.lee.is.me@gmail.com> wrote:
> Hello List,
>
> I'm starting work on a website for tourists.
>
> The basic use-case is that a tourist uses the site to store and
> retrieve information about itineraries.
>
> In addition to the website I want to create a netbook application
> which the tourist can use while she is disconnected from the web.
>
> I want the netbook application-data-store to synchronize with the
> data-store of the website.
>
> The replication abilities of couchDB interest me.
>
> I'm curious about some deployment issues.
>
> How easy is it to implement couchDB such that all of the data for all
> of the tourists is in a data-center?
>
> Obviously I want each tourist to have a local copy of only her data.
>
> Is it easy to deploy couchDB on each netbook so the netbook has only
> data related to 1 user?
>
> Based on the small amount of reading that I've done, I gather that it
> is easy to replicate an entire couchDB between hosts.
>
> For my use case, I dont want to replicate an entire couchDB from a
> data-center to a netbook.
>
> Instead I want to replicate a subset of a couchDB.
>
> Has anyone on this list dealt with a use-case similar to my
> tourist-site-and-app use-case?

Hi Audrey

Have you considered having multiple databases on your server, one for
each user? This would allow you easily replicate the entire contents
of that db to the netbook. This is quite a common thing in Couch:
multiple dbs for the same app, separated by user, or groups of users,
or...

Dave

Mime
View raw message