Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 52547 invoked from network); 2 Oct 2010 01:39:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 01:39:39 -0000 Received: (qmail 21225 invoked by uid 500); 2 Oct 2010 01:39:39 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21125 invoked by uid 500); 2 Oct 2010 01:39:38 -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 21111 invoked by uid 99); 2 Oct 2010 01:39:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 01:39:38 +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 (athena.apache.org: domain of jwriteclub@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 01:39:34 +0000 Received: by bwz3 with SMTP id 3so3746361bwz.11 for ; Fri, 01 Oct 2010 18:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=rG5vX5qz7BbroBY8xKAWnos2AOunIRUWYDU0HdUbsOU=; b=np6vXx4aMk+nkeEnSgKLbFqA3iXVR+vhM1osAP4owQh+/cu15iPoo/bwqpqPmoaDUC verO+hAYVxferr2ThXP4J2kyUSN+jokWcGnUYmbjlUtEYa4xud0XnUm4Z7sRfkzK+kq6 vln2Md+u+UH3hVVyPZFaBkogF1yYZeomV16WI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=KvlUUgtFOLezM8wO5Bwe/XNM6wC/yHOzLuVu75MMaeSJSArSfVet0i6toPp/1lJ35k fAder2s9XnDGcvmSYQdkLtG7hwixn3FVtkmwWLpKQkT22YU1bA0v78J0tkdk1BaXhbYg 1ZpJBzkoKQ7CRYmzeRqZGLEgH7QfljMCmB+fI= Received: by 10.204.127.65 with SMTP id f1mr4666851bks.55.1285983552061; Fri, 01 Oct 2010 18:39:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.119.139 with HTTP; Fri, 1 Oct 2010 18:38:50 -0700 (PDT) In-Reply-To: References: From: "Christopher O'Connell" Date: Fri, 1 Oct 2010 18:38:50 -0700 Message-ID: Subject: Re: New Externals: Implemented with tests To: dev@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6d975bacec0c7049198609e --0016e6d975bacec0c7049198609e Content-Type: text/plain; charset=ISO-8859-1 I think that this is a really nice improvement to externals. As discussed far in the past, writing a robust external node required a LOT of threading code to keep a handle on things -- the KD tree implementation I wrote in Java was almost 80% threading code [1]. Furthermore, the fact that it doesn't communicate over stdio should make it a lot easier to debug external processes, as it will be possible to send data directly to the external process when testing. I'll be updating the externalJ library to the new paradigm in the next few weeks. All the best, ~ Christopher [1] http://compu.terlicio.us/code/externalj/ On Fri, Oct 1, 2010 at 15:43, Paul Davis wrote: > Hey everyone, > > I've gone and implemented the two features discussed in [1] with the > goal of using them to replace the current _externals API. The code is > up at [2]. I'd like to get a couple people to build and run the tests > (./bootstrap && ./configure && make dev && make check) to make sure > everything is sane. Let me know if you have any comments or > suggestions. If a couple people report back with successful test runs > I'll probably push this to trunk in the next couple days barring > someone raising a serious objection. > > There's also a blog post at [3] that describes the current situation > with words and stuff. > > Paul Davis > > [1] > http://mail-archives.apache.org/mod_mbox/couchdb-dev/201009.mbox/%3CAANLkTinv+-eqqraCjajVxzXA=soyCo_Pk1cs8MMCVXHT@mail.gmail.com%3E > [2] http://github.com/davisp/couchdb/tree/new_externals > [3] http://davispj.com/2010/09/26/new-couchdb-externals-api.html > --0016e6d975bacec0c7049198609e--