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 E6752EACF for ; Thu, 28 Feb 2013 22:41:26 +0000 (UTC) Received: (qmail 77164 invoked by uid 500); 28 Feb 2013 22:41:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 77102 invoked by uid 500); 28 Feb 2013 22:41:25 -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 77094 invoked by uid 99); 28 Feb 2013 22:41:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 22:41:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of snbartell@gmail.com designates 209.85.160.42 as permitted sender) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 22:41:17 +0000 Received: by mail-pb0-f42.google.com with SMTP id xb4so1337300pbc.15 for ; Thu, 28 Feb 2013 14:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=f0Fyhw098F9beXDZoS11fXeobHQE8PcCxGUjmQsg13E=; b=tpilH+c83nu3JfssH6yufFgTxYhuODr2lzKa4vlgB0bARqz6+34p3uha9JHMF6Isi2 lfm9iXV1uCmyVNzh0rzRYAwnfnhp6a4eT0l61q4Mm7F8uWNIwytzTTY7eKqQdlS3aWd4 uHDANnsDDaS2c/I016Uvo7ZUTX+KCxs1Y9V3n1sZm4Z25CGzqnl3pdcuuW9FS7xQBn73 QEh6O07jPIWEjkXfMrLZH/iP814xLFzXvlNQNrk3Ksky+kM7MLnXPG/yM3GGjdL0lobk CGE5HEH6fMH6Avs/9MfVwgl3vLalC+2ZXGfHN5BRAa3RVdJ8FxT1SuWHwJQtp53ZenZA 4EDg== X-Received: by 10.68.137.202 with SMTP id qk10mr10181428pbb.189.1362091256318; Thu, 28 Feb 2013 14:40:56 -0800 (PST) Received: from [192.168.98.143] (static-108-23-87-130.lsanca.fios.verizon.net. [108.23.87.130]) by mx.google.com with ESMTPS id d1sm10624209pav.6.2013.02.28.14.40.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 14:40:55 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Node + Couch From: Stephen Bartell In-Reply-To: Date: Thu, 28 Feb 2013 14:40:55 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <8171B4C3-426F-406E-971D-E66DCBF79BF4@gmail.com> References: <-3357587684347326953@unknownmsgid> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org +1 Im stoked about this. At my day job we've done something similar, = and its been a game changer in what/how we deploy for customers. I hope = to see the garden grow ;) On Feb 28, 2013, at 2:28 PM, Ryan Ramage wrote: > It will work on both. The idea is you can run the node processes = anywhere > you want. >=20 > 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. >=20 >=20 >=20 > On Thu, Feb 28, 2013 at 3:14 PM, Lance Carlson = wrote: >=20 >> 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? >>=20 >> Sent from my iPhone >>=20 >> On Feb 28, 2013, at 4:05 PM, Noah Slater wrote: >>=20 >>> Hey, this sounds really cool Ryan! >>>=20 >>>=20 >>> On 25 January 2013 17:17, Ryan Ramage wrote: >>>=20 >>>> 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! >>>>=20 >>>> 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: >>>>=20 >>>> https://github.com/garden20/gardener >>>>=20 >>>> 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. >>>>=20 >>>> 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. >>>>=20 >>>> Optionally, it can be used to route http requests through couch = (via >>>> externals) to the node process. >>>>=20 >>>> 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. >>>>=20 >>>> So you know it is fairly young, so warnings apply. But it is in the >> process >>>> of being used in a real product. >>>>=20 >>>> Feedback welcome. >>>>=20 >>>> Ryan >>>=20 >>>=20 >>>=20 >>> -- >>> NS >>=20