Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24CC8D5BE for ; Thu, 1 Nov 2012 07:57:34 +0000 (UTC) Received: (qmail 83449 invoked by uid 500); 1 Nov 2012 07:57:32 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 83419 invoked by uid 500); 1 Nov 2012 07:57:32 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 83373 invoked by uid 99); 1 Nov 2012 07:57:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 07:57:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.223.180 as permitted sender) Received: from [209.85.223.180] (HELO mail-ie0-f180.google.com) (209.85.223.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 07:57:26 +0000 Received: by mail-ie0-f180.google.com with SMTP id e10so3120195iej.11 for ; Thu, 01 Nov 2012 00:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ByHvaYwq0H2Cs88M+xcT6h5ca5N74lL392SZ7N6a8x4=; b=N8FWJb7GdG8839BSRyzigZiN3gBficMOnGeAJE7J8JSXoysYynvlIhaP8uO1/hquXD HPFplhPGobKcCsp8kECx0zg2lendx0+B2eZctditCGZacCjLftSNW9xK2G3DjXdV0t0A Ox87cMoPF1BbEnTqZnStQlfiVMa5E4oxnkjPKJaqtSDltXZ6h8JnJiqeWOcLZlEF00k+ s6kpvBqx/dblOCDHluHwQUarTfwT5bMapiv1KRxRqe6qsGjJqmZu5KgFxgGS2U4U0doj AzVGXxhS2xqsFPtJlwAEAM+mrA/ZcIwJodd+oOJ32Fv/SOhnj5DF2uAq2VPJbk53zaB6 3Igg== MIME-Version: 1.0 Received: by 10.43.52.193 with SMTP id vn1mr34057119icb.5.1351756625493; Thu, 01 Nov 2012 00:57:05 -0700 (PDT) Received: by 10.64.77.196 with HTTP; Thu, 1 Nov 2012 00:57:05 -0700 (PDT) In-Reply-To: References: <40BCC84F-C695-492E-B56E-08C60955A3D8@apache.org> Date: Thu, 1 Nov 2012 08:57:05 +0100 Message-ID: Subject: Re: CouchDB Plugins First Draft From: Benoit Chesneau To: "dev@couchdb.apache.org" Content-Type: multipart/alternative; boundary=bcaec529a0b17c3e7404cd6a5d54 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec529a0b17c3e7404cd6a5d54 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Nov 1, 2012 at 7:58 AM, Alexander Shorin wrote: > Hi, Benoit! > > > - installation and upgrade via HTTP > > You'd remind me one thing: > > http://davispj.com/2010/09/26/new-couchdb-externals-api.html > > Could this plugins be just one shoot wrapper for proxy with external > process / os_daemon setup? I see there is only need to let them > announce to CouchDB what they can do or handle some part of CouchDB > functionality (e.g. slots concept). > Well, In my opinion the couchdb http external api is just an hack waiting something better. When I am thinking to couchdb i am thinking to one of its core feature aka master-master replication. On wich I add "p2p". So maybe my view is biased. But based on this view for me plugin should also be replicable. Using external api would make it hard to replicate though it's possible by copying content of a doc on the fs. To be honest I don't think it's a good way to handle that. Also having something like http://redis.io/commands/eval open the door to a new way to extend couchdb. Any programmer could do it even non erlang programmers. Which could be quite interresting. - beno=EEt --bcaec529a0b17c3e7404cd6a5d54--