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 <[email protected]> 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 > -- > >
