From user-return-10488-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu May 13 22:01:04 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 41306 invoked from network); 13 May 2010 22:01:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 22:01:04 -0000 Received: (qmail 85580 invoked by uid 500); 13 May 2010 22:01:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85526 invoked by uid 500); 13 May 2010 22:01:03 -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 85518 invoked by uid 99); 13 May 2010 22:01:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 22:01:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.200.36.30] (HELO translab.its.uci.edu) (128.200.36.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 22:00:56 +0000 Received: from translab.its.uci.edu (localhost.localdomain [127.0.0.1]) by translab.its.uci.edu (8.13.1/8.12.10) with ESMTP id o4DM0VoN027196 for ; Thu, 13 May 2010 15:00:31 -0700 Received: (from jmarca@localhost) by translab.its.uci.edu (8.13.1/8.13.1/Submit) id o4DM0V8H027195 for user@couchdb.apache.org; Thu, 13 May 2010 15:00:31 -0700 Date: Thu, 13 May 2010 15:00:31 -0700 From: James Marca To: user@couchdb.apache.org Subject: Re: large attachments/huge databases ?` Message-ID: <20100513220031.GI9409@translab.its.uci.edu> Mail-Followup-To: user@couchdb.apache.org References: <4FD426D8-F807-4FCE-8B98-36B9B0B2C058@googlemail.com> <4BEBCDAB.4070708@digitalgott.de> <20100513160136.GB9782@seblaptop> <4BEC2A4C.4090303@digitalgott.de> <373613.48428.qm@web113002.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-ITS-MailScanner: Found to be clean X-ITS-MailScanner-From: jmarca@translab.its.uci.edu X-ITS-Spam-Status: No X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 13, 2010 at 09:10:29PM +0100, Randall Leeds wrote: > If you want to be super couch-y and keep it HTTP based and keep couch > at the top of your server stack you could write your own http handler > that just streams files off the disk. > > http://mycouch:5984/_files/path_to_file > > Look at the other handlers in the couch.ini files and then look at the > corresponding .erl files in src/couchdb to get a feel for how to plug > your own in. > > This might help you too: > http://vmx.cx/couchdb/tutorial/indexer.html > > -Randall That's a verycool idea. James -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.