Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15772EA47 for ; Thu, 28 Feb 2013 22:29:18 +0000 (UTC) Received: (qmail 33776 invoked by uid 500); 28 Feb 2013 22:29:16 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33753 invoked by uid 500); 28 Feb 2013 22:29:16 -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 33742 invoked by uid 99); 28 Feb 2013 22:29:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 22:29:16 +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 ryan.ramage@gmail.com designates 209.85.219.50 as permitted sender) Received: from [209.85.219.50] (HELO mail-oa0-f50.google.com) (209.85.219.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 22:29:11 +0000 Received: by mail-oa0-f50.google.com with SMTP id l20so4621588oag.37 for ; Thu, 28 Feb 2013 14:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=35yX1qxH0Jklg0SJdGu4/p/Yzryisgt+gqFN8t3sy+o=; b=w9DNGdd3T+MvoiV0vZYvUP1r5cC5qeh1Hz2k0l7luZLGNRwjSlVrczPqwnsX4gmoa8 qbk98bbDKyu8XRdNBRv2xrL864citxZnVEaNJXSVLrZYI+UqQMoX/xc80nZ6Jp1L1B8J 3nMpGlv8vGHVlmeZNHbwL1DX9kyvGPk0FOs1ncXQEzCAxU3mKrkFTwVThn7UEXy3Bvbs vgV2o+X9qT3O47G+xyGIG+jOqdU2JjK2W8/TytFvMG8/NQb4CTV8UqD9LDEbaEj/lTdH 49erschpnPC2dzEikgjxuRF7N3pn+GaE0rfqpRsFI5KaLi1YFvaLKgEFqpok05fhbBP7 qfCw== MIME-Version: 1.0 X-Received: by 10.60.31.79 with SMTP id y15mr6991409oeh.123.1362090530760; Thu, 28 Feb 2013 14:28:50 -0800 (PST) Received: by 10.60.9.103 with HTTP; Thu, 28 Feb 2013 14:28:50 -0800 (PST) In-Reply-To: <-3357587684347326953@unknownmsgid> References: <-3357587684347326953@unknownmsgid> Date: Thu, 28 Feb 2013 15:28:50 -0700 Message-ID: Subject: Re: Node + Couch From: Ryan Ramage To: user Content-Type: multipart/alternative; boundary=e89a8fb1f1643cf0b804d6d06a70 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f1643cf0b804d6d06a70 Content-Type: text/plain; charset=ISO-8859-1 It will work on both. The idea is you can run the node processes anywhere you want. The gardener has an optional http proxy thing to your node process, which probably wont work with cloudant or iriscouch because they have disabled the couch_httpd_proxy setting. On Thu, Feb 28, 2013 at 3:14 PM, Lance Carlson wrote: > This is very cool indeed. Do you know if this will work on cloudant or > iris? Or are you supposed to run node on a remote server like on > Heroku? > > Sent from my iPhone > > On Feb 28, 2013, at 4:05 PM, Noah Slater wrote: > > > Hey, this sounds really cool Ryan! > > > > > > On 25 January 2013 17:17, Ryan Ramage wrote: > > > >> Hey all, there are many out there who use couchdb + node together. And a > >> lot are excited about Jason Smith's (and others) work using node as a > view > >> server. I say the more options the better! > >> > >> I just wanted to let others know of another experiment of mixing node > and > >> with couch. It's called gardener and the repo is here: > >> > >> https://github.com/garden20/gardener > >> > >> The premise is based around keeping a node module bundled with a design > doc > >> (or a couchapp). > >> Why? Maybe your ddoc map/reduces twitter feeds and you want to have node > >> fetch and store from twitter. Lots of imaginary scenarios. > >> > >> The gardener is a node process watches a couch, looking for design docs > >> with a node module attached. Finding one, it will simple npm install it, > >> spawn a forever process, and pass it the db url to connect to. > >> > >> Optionally, it can be used to route http requests through couch (via > >> externals) to the node process. > >> > >> The idea here is to build reusable backend node processes that work well > >> with couch, or a mechanism to distribute slightly more powerful > couchapps. > >> And this all works with couch today. > >> > >> So you know it is fairly young, so warnings apply. But it is in the > process > >> of being used in a real product. > >> > >> Feedback welcome. > >> > >> Ryan > > > > > > > > -- > > NS > --e89a8fb1f1643cf0b804d6d06a70--