Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 3456 invoked from network); 1 Nov 2010 14:30:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 14:30:47 -0000 Received: (qmail 70360 invoked by uid 500); 1 Nov 2010 14:31:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70085 invoked by uid 500); 1 Nov 2010 14:31:14 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 70075 invoked by uid 99); 1 Nov 2010 14:31:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 14:31:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martinh@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 14:31:07 +0000 Received: by ywf7 with SMTP id 7so3446168ywf.11 for ; Mon, 01 Nov 2010 07:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=HbAupNF6uwLokBnsY6b6qRFH2rp6OSD3lKxc9vsfEaE=; b=qbyAnoywQtJb/vxU3NbSQ1DsFv6livAvUxTQ3YC8aJKN6y9a3eIZffzHnNDllB+LzS f/m1h2naomYRmfKA3h424GRvc2ISlY856lnCP33o77QZlghRIXmtdySGdIIfWmfyJBnC OAYqxxpxKgVWEdf0oZ8Y6f5MdYd2rPu/jIy3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=RR7Z0Tl1KKn4n5NFkncVerDKs5y/w+TrycAAUbxmyQ0cdgFx8pHwXl88GpUQb3a0WC 6aVhUWC/KOCKwmfL4qWzX0Nd2BpuowV0I8wvHXi/85hk0WLGC21dn7NfHwmER3mQiB0w xW76iafkACMYOWvzJ/WqyWJSkARjDTNFJt55U= MIME-Version: 1.0 Received: by 10.42.175.73 with SMTP id az9mr1966790icb.331.1288621846041; Mon, 01 Nov 2010 07:30:46 -0700 (PDT) Sender: martinh@gmail.com Received: by 10.231.68.11 with HTTP; Mon, 1 Nov 2010 07:30:45 -0700 (PDT) In-Reply-To: References: <4CCE684E.6040600@makkiato.de> <12CF5A9C-0FE3-4BED-A51B-05DB34294CC7@apache.org> Date: Mon, 1 Nov 2010 14:30:45 +0000 X-Google-Sender-Auth: UBNeOwFa8uBre3y2P9yxawSiGUY Message-ID: Subject: Re: Sharing design documents between DBs From: Martin Higham To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e8f30621be90493fea785 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e8f30621be90493fea785 Content-Type: text/plain; charset=ISO-8859-1 Until you have one DB per user and then you're looking at replicating the design doc to many thousands of databases and continuous replication doesn't make sense Martin On 1 November 2010 14:11, Benjamin Young wrote: > Hey Gregor, > > If you setup continuous replication between your various customer db's and > your primary application database (which would likely only contain the main > app's design doc), then publication of the app would automatically be > "rolled out" to the various customer db's. Because these DB's would be > "standalone" versions of the app, they could even be on multiple hosts > running CouchDB, so you'd remove the single point of failure problem that > most web-apps have--as they run (often) through a single server for all > customers. > > Personally, that mode of "multi-tenant" app (via replication) is pretty > exciting, and opens up new ways of dealing with load and application > distribution. Get's the mind reeling, or maybe that's the coffee I just > finished... :) > > Later, Gregor, > Benjamin > > On Mon, Nov 1, 2010 at 6:49 AM, Jan Lehnardt wrote: > > > Hi Gregor, > > > > On 1 Nov 2010, at 08:12, Gregor Frey wrote: > > > > > Hi, > > > when I followed the discussion about the setup of CouchDB in a hosted > > environment, I wondered whether it would be possible to share the > > application level software between multiple databases. This would enable > a > > real multi-tenant set-up. Otherwise you must duplicate the application > with > > each new tenant. > > > Does anybody know whether and how CouchDB supports application sharing? > > > > CouchDB does not support application or document sharing over databases. > > But nothing stops you from gradually replicating a new design doc (the > > application) to every database. > > > > Cheers > > Jan > > -- > > > > > --90e6ba6e8f30621be90493fea785--