couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <>
Subject Re: Do we need 2 entry points for the replication?
Date Fri, 20 Jan 2012 02:04:00 GMT
On Thu, Jan 19, 2012 at 16:59, Jason Smith <> wrote:
> On Fri, Jan 20, 2012 at 4:59 AM, Benoit Chesneau <> wrote:
>>> Bottom line: It's my opinion that _replicator (and _user) were wrongly
>>> exposed as full-blooded databases when all  we needed to use was the
>>> database format (and carefully curate API endpoints). But, alas, that
>>> train has sailed.
>> Imo such dbs should be hidden, and we could only provide entry points
>> accessing to them. For example having all systems dbs under /couchdb/
>> prefix and hide them for others excepts admins. Just like postgres
>> does. I'm agree it was a mistake to expose them. I think we should
>> stop to do it in near future imo.
> Exposing features as manipulations to normal documents makes CouchDB's
> API simpler and more orthogonal.

On the other hand, exposing features via special-purpose APIs hides
the implementation and frees us to change how it works under the hood.

> --
> Iris Couch

View raw message