Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 54354 invoked from network); 13 Sep 2010 16:10:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 16:10:56 -0000 Received: (qmail 91751 invoked by uid 500); 13 Sep 2010 16:10:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 91700 invoked by uid 500); 13 Sep 2010 16:10:54 -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 91692 invoked by uid 99); 13 Sep 2010 16:10:54 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 16:10:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.kocoloski@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 16:10:31 +0000 Received: by qwf6 with SMTP id 6so4433558qwf.11 for ; Mon, 13 Sep 2010 09:10:10 -0700 (PDT) Received: by 10.224.43.163 with SMTP id w35mr2994518qae.92.1284394209543; Mon, 13 Sep 2010 09:10:09 -0700 (PDT) Received: from [10.1.10.164] (c-66-31-20-188.hsd1.ma.comcast.net [66.31.20.188]) by mx.google.com with ESMTPS id l8sm6513124qck.42.2010.09.13.09.10.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 09:10:07 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Curious: will CouchDB ever allow live code updates? From: Adam Kocoloski In-Reply-To: Date: Mon, 13 Sep 2010 12:10:04 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <721BEBCF-B662-42E8-AB42-345D7EE9173D@cisco.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Yes, BigCouch patched a few things to make hot code reloading less = painful. To make this work for some modules in vanilla CouchDB you = really only need a way to tell the system to reload a module. It could = be an HTTP handler that does this, or you could run a named Erlang node = by hacking the startup script and connecting to it via a remsh. Adam On Sep 13, 2010, at 11:49 AM, Paul Davis wrote: > Its already possible. There are a couple known spots in trunk that > tend to barf on code reloading. IIUC, BigCouch comes with a couple > patches for some of these issues. If you find any others, feel free to > open issues in JIRA. >=20 > HTH, > Paul Davis >=20 > On Mon, Sep 13, 2010 at 8:19 AM, Wout Mertens = wrote: >> Hi, >>=20 >> one of the benefits of Erlang is that you can upgrade your code while = it's still running. CouchDB's MVCC should help with that as well. >>=20 >> So I wonder: Will CouchDB ever make use of that Erlang feature? >>=20 >> Wout.