incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Pieper <apie...@url.de>
Subject Re: quick poll - how many databases do you have?
Date Thu, 26 Feb 2009 16:42:00 GMT
On Thu, Feb 26, 2009 at 2:45 PM, Jan Lehnardt <jan@apache.org> wrote:
>
> On 26 Feb 2009, at 14:39, Andreas Pieper wrote:
>
>> let me chime in with another thing that concerns me wrt
>> database-per-user: How do I manage view function updates with this
>> scenario? Do I have to push the same map/reduce code to every
>> database, which is an unbounded number? I feel that deployments can
>> get quite hairy in such a setting.
>
> deployment on 1M users in a single DB will have other issues :)
>
> A common solution is to do "lazy-updating" users as they become
> active in the system while pre-loading your 10% (or whatever) most
> active users.
>
> But that all depends on your application and general advice is not
> really applicable.

You're certainly right. So the answer is "yes" I guess, and there is
no specific support for "shared" map/reduce functions between
databases (which is fine).

andi


> Cheers
> Jan
> --
>
>



-- 
andreas pieper
berlin

Mime
View raw message